public class VisualTreeHelper extends NetObject
.NET documentation at https://learn.microsoft.com/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=9.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)
Invokes the .NET member GetBitmapEffect.
|
static BitmapEffectInput |
GetBitmapEffectInput(Visual reference)
Invokes the .NET member GetBitmapEffectInput.
|
static CacheMode |
GetCacheMode(Visual reference)
Invokes the .NET member GetCacheMode.
|
static DependencyObject |
GetChild(DependencyObject reference,
int childIndex)
Invokes the .NET member GetChild.
|
static int |
GetChildrenCount(DependencyObject reference)
Invokes the .NET member GetChildrenCount.
|
static Geometry |
GetClip(Visual reference)
Invokes the .NET member GetClip.
|
static Rect |
GetContentBounds(Visual reference)
Invokes the .NET member GetContentBounds.
|
static Rect3D |
GetContentBounds(Visual3D reference)
Invokes the .NET member GetContentBounds.
|
static Rect |
GetDescendantBounds(Visual reference)
Invokes the .NET member GetDescendantBounds.
|
static Rect3D |
GetDescendantBounds(Visual3D reference)
Invokes the .NET member GetDescendantBounds.
|
static DpiScale |
GetDpi(Visual visual)
Invokes the .NET member GetDpi.
|
static DrawingGroup |
GetDrawing(Visual reference)
Invokes the .NET member GetDrawing.
|
static EdgeMode |
GetEdgeMode(Visual reference)
Invokes the .NET member GetEdgeMode.
|
static Effect |
GetEffect(Visual reference)
Invokes the .NET member GetEffect.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static Vector |
GetOffset(Visual reference)
Invokes the .NET member GetOffset.
|
static double |
GetOpacity(Visual reference)
Invokes the .NET member GetOpacity.
|
static Brush |
GetOpacityMask(Visual reference)
Invokes the .NET member GetOpacityMask.
|
static DependencyObject |
GetParent(DependencyObject reference)
Invokes the .NET member GetParent.
|
static Transform |
GetTransform(Visual reference)
Invokes the .NET member GetTransform.
|
static DoubleCollection |
GetXSnappingGuidelines(Visual reference)
Invokes the .NET member GetXSnappingGuidelines.
|
static DoubleCollection |
GetYSnappingGuidelines(Visual reference)
Invokes the .NET member GetYSnappingGuidelines.
|
static void |
HitTest(Visual3D reference,
HitTestFilterCallback filterCallback,
HitTestResultCallback resultCallback,
HitTestParameters3D hitTestParameters)
Invokes the .NET member HitTest.
|
static void |
HitTest(Visual reference,
HitTestFilterCallback filterCallback,
HitTestResultCallback resultCallback,
HitTestParameters hitTestParameters)
Invokes the .NET member HitTest.
|
static HitTestResult |
HitTest(Visual reference,
Point point)
Invokes the .NET member HitTest.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static void |
SetRootDpi(Visual visual,
DpiScale dpiInfo)
Invokes the .NET member SetRootDpi.
|
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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic 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
reference - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static BitmapEffectInput GetBitmapEffectInput(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
reference - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static CacheMode GetCacheMode(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
reference - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static DependencyObject GetChild(DependencyObject reference, int childIndex) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException
reference - the argument of type DependencyObjectchildIndex - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic static int GetChildrenCount(DependencyObject reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException
reference - the argument of type DependencyObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic static Geometry GetClip(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
reference - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Rect GetContentBounds(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, Win32Exception, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException
reference - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic static Rect3D GetContentBounds(Visual3D reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, Win32Exception, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException
reference - the argument of type Visual3Djava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic static Rect GetDescendantBounds(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, Win32Exception, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException
reference - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic static Rect3D GetDescendantBounds(Visual3D reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, Win32Exception, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException
reference - the argument of type Visual3Djava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic static DpiScale GetDpi(Visual visual) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, Win32Exception
visual - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic static DrawingGroup GetDrawing(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
reference - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static EdgeMode GetEdgeMode(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
reference - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Effect GetEffect(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
reference - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic static Vector GetOffset(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
reference - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static double GetOpacity(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
reference - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Brush GetOpacityMask(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
reference - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static DependencyObject GetParent(DependencyObject reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException
reference - the argument of type DependencyObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic static Transform GetTransform(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
reference - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static DoubleCollection GetXSnappingGuidelines(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
reference - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static DoubleCollection GetYSnappingGuidelines(Visual reference) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
reference - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic 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
reference - the argument of type Visual3DfilterCallback - the argument of type HitTestFilterCallbackresultCallback - the argument of type HitTestResultCallbackhitTestParameters - the argument of type HitTestParameters3Djava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArithmeticException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic 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
reference - the argument of type VisualfilterCallback - the argument of type HitTestFilterCallbackresultCallback - the argument of type HitTestResultCallbackhitTestParameters - the argument of type HitTestParametersjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic static HitTestResult HitTest(Visual reference, Point point) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, Win32Exception, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, SecurityException, IOException
reference - the argument of type Visualpoint - the argument of type Pointjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic static void SetRootDpi(Visual visual, DpiScale dpiInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, NullReferenceException, Win32Exception
visual - the argument of type VisualdpiInfo - the argument of type DpiScalejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNullReferenceException - if the .NET member raises itWin32Exception - if the .NET member raises it