public class VisualTreeHelper extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Media.VisualTreeHelper
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: PresentationCore, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationCore
|
static java.lang.String |
className
Qualified class name: System.Windows.Media.VisualTreeHelper
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
VisualTreeHelper() |
VisualTreeHelper(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static VisualTreeHelper |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into VisualTreeHelper, a cast assert is made to check if types are compatible. |
static BitmapEffect |
GetBitmapEffect(Visual reference) |
static BitmapEffectInput |
GetBitmapEffectInput(Visual reference) |
static CacheMode |
GetCacheMode(Visual reference) |
static DependencyObject |
GetChild(DependencyObject reference,
int childIndex) |
static int |
GetChildrenCount(DependencyObject reference) |
static Geometry |
GetClip(Visual reference) |
static Rect |
GetContentBounds(Visual reference) |
static Rect3D |
GetContentBounds(Visual3D reference) |
static Rect |
GetDescendantBounds(Visual reference) |
static Rect3D |
GetDescendantBounds(Visual3D reference) |
static DpiScale |
GetDpi(Visual visual) |
static DrawingGroup |
GetDrawing(Visual reference) |
static EdgeMode |
GetEdgeMode(Visual reference) |
static Effect |
GetEffect(Visual reference) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
static Vector |
GetOffset(Visual reference) |
static double |
GetOpacity(Visual reference) |
static Brush |
GetOpacityMask(Visual reference) |
static DependencyObject |
GetParent(DependencyObject reference) |
static Transform |
GetTransform(Visual reference) |
static DoubleCollection |
GetXSnappingGuidelines(Visual reference) |
static DoubleCollection |
GetYSnappingGuidelines(Visual reference) |
static void |
HitTest(Visual3D reference,
HitTestFilterCallback filterCallback,
HitTestResultCallback resultCallback,
HitTestParameters3D hitTestParameters) |
static void |
HitTest(Visual reference,
HitTestFilterCallback filterCallback,
HitTestResultCallback resultCallback,
HitTestParameters hitTestParameters) |
static HitTestResult |
HitTest(Visual reference,
Point point) |
void |
setJCOInstance(JCObject instance) |
static void |
SetRootDpi(Visual visual,
DpiScale dpiInfo) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public VisualTreeHelper()
throws java.lang.Throwable
java.lang.Throwablepublic VisualTreeHelper(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static VisualTreeHelper cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into VisualTreeHelper, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedVisualTreeHelper instancejava.lang.Throwable - in case of error during cast operationpublic static BitmapEffect GetBitmapEffect(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public static BitmapEffectInput GetBitmapEffectInput(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public static CacheMode GetCacheMode(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public static DependencyObject GetChild(DependencyObject reference, int childIndex) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
public static int GetChildrenCount(DependencyObject reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
public static Geometry GetClip(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public static Rect GetContentBounds(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, Win32Exception, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException
public static Rect3D GetContentBounds(Visual3D reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, Win32Exception, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException
public static Rect GetDescendantBounds(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, Win32Exception, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException
public static Rect3D GetDescendantBounds(Visual3D reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, Win32Exception, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException
public static DpiScale GetDpi(Visual visual) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, Win32Exception
public static DrawingGroup GetDrawing(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public static EdgeMode GetEdgeMode(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public static Effect GetEffect(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static Vector GetOffset(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic static double GetOpacity(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public static Brush GetOpacityMask(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public static DependencyObject GetParent(DependencyObject reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
public static Transform GetTransform(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public static DoubleCollection GetXSnappingGuidelines(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public static DoubleCollection GetYSnappingGuidelines(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public static void HitTest(Visual3D reference, HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, HitTestParameters3D hitTestParameters) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, Win32Exception, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException, IndexOutOfRangeException, ArithmeticException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionWin32ExceptionPlatformNotSupportedExceptionObjectDisposedExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionInvalidCastExceptionIndexOutOfRangeExceptionArithmeticExceptionArrayTypeMismatchExceptionpublic static void HitTest(Visual reference, HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, HitTestParameters hitTestParameters) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, Win32Exception, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException
public static HitTestResult HitTest(Visual reference, Point point) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, Win32Exception, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, SecurityException, IOException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static void SetRootDpi(Visual visual, DpiScale dpiInfo) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, NullReferenceException, Win32Exception