public class RelativeSource extends MarkupExtension implements ISupportInitialize
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Data.RelativeSource
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: PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationFramework
|
static java.lang.String |
className
Qualified class name: System.Windows.Data.RelativeSource
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
RelativeSource() |
RelativeSource(java.lang.Object instance)
Internal constructor.
|
RelativeSource(RelativeSourceMode mode) |
RelativeSource(RelativeSourceMode mode,
NetType ancestorType,
int ancestorLevel) |
| Modifier and Type | Method and Description |
|---|---|
static RelativeSource |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into RelativeSource, a cast assert is made to check if types are compatible. |
int |
getAncestorLevel() |
NetType |
getAncestorType() |
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
|
RelativeSourceMode |
getMode() |
static RelativeSource |
getPreviousData() |
static RelativeSource |
getSelf() |
static RelativeSource |
getTemplatedParent() |
NetObject |
ProvideValue(IServiceProvider serviceProvider) |
void |
setAncestorLevel(int AncestorLevel) |
void |
setAncestorType(NetType AncestorType) |
void |
setJCOInstance(JCObject instance) |
void |
setMode(RelativeSourceMode Mode) |
boolean |
ShouldSerializeAncestorLevel() |
boolean |
ShouldSerializeAncestorType() |
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToStringBeginInit, EndInit, ToISupportInitializepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public RelativeSource()
throws java.lang.Throwable
java.lang.Throwablepublic RelativeSource(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic RelativeSource(RelativeSourceMode mode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
public RelativeSource(RelativeSourceMode mode, NetType ancestorType, int ancestorLevel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
public static RelativeSource cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into RelativeSource, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedRelativeSource instancejava.lang.Throwable - in case of error during cast operationpublic int getAncestorLevel()
throws java.lang.Throwable
java.lang.Throwablepublic NetType getAncestorType() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ISupportInitializegetJCOAssemblyName in class MarkupExtensionString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ISupportInitializegetJCOClassName in class MarkupExtensionString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ISupportInitializegetJCOInstance in class MarkupExtensionObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ISupportInitializegetJCOObjectName in class MarkupExtensionString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface ISupportInitializegetJCOType in class MarkupExtensionJCType representing the CLR Type of the instantiated Classpublic RelativeSourceMode getMode() throws java.lang.Throwable
java.lang.Throwablepublic static RelativeSource getPreviousData() throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException
public static RelativeSource getSelf() throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException
public static RelativeSource getTemplatedParent() throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException
public NetObject ProvideValue(IServiceProvider serviceProvider) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException
ProvideValue in class MarkupExtensionjava.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionpublic void setAncestorLevel(int AncestorLevel)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
AbandonedMutexException
public void setAncestorType(NetType AncestorType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
public void setJCOInstance(JCObject instance)
setJCOInstance in class MarkupExtensionpublic void setMode(RelativeSourceMode Mode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
public boolean ShouldSerializeAncestorLevel()
throws java.lang.Throwable
java.lang.Throwablepublic boolean ShouldSerializeAncestorType()
throws java.lang.Throwable
java.lang.Throwable