DependencyProperty Class
namespace Noesis
Represents a dependency property that is registered in the property system. Dependency properties provide support for value expressions, property invalidation and dependent-value coercion, default values, inheritance, data binding, animation, property change notification, and styling.
Properties
Name | Description | |
---|---|---|
![]() |
Name | Gets property name |
![]() |
OwnerType | Gets property owner type |
![]() |
Type | Gets property type |
![]() |
ValueManager | Gets the object that manages value storage for this property |
Dependency Property
Read-only
Methods
Name | Description |
---|---|
CheckType | Indicates if the value type is valid for this property |
CheckType | Indicates if the boxed value is valid for this property type |
ClearAnimation | Clears animation value for this property |
FindTypeMetaData | Finds a metaData in the corresponding reflection property Returns metaData of the specified type if found, otherwise it returns null |
FindTypeProperty | Looks for a reflection property in the owner type of this dependency property with the same name. If not found, null is returned |
GetBaseValueObject | Gets the boxed baseValue of this property in the given dependency object |
GetDefaultValue | Gets property default value for the specified type |
GetDefaultValueObject | Gets property default value as a boxed object for the specified type |
GetMetadata | Gets property metaData |
GetSize | Returns size of the property type |
GetUnsetValue | Returns a static value that is used by the property system rather than a null Ptr to indicate that the property exists, but does not have its value set by the property system. |
GetValidateValueCallback | Gets the callback used to validate property value |
GetValue | Gets the raw value of the property from the specified dependency object |
GetValueObject | Gets the a boxed value or Ptr object for this property from a raw pointer |
GetValueObject | Gets the boxed value of this property in the given dependency object |
IsReadOnly | Checks if property is read-only |
IsSameValue | Compares the value of this property in the specified dependency object with the supplied value and returns true if they are the same |
IsSameValue | Compares 2 values and returns true when they are the same value |
IsSameValue | Compares 2 values and returns true when they are the same value |
IsValidValue | Indicates if the specified value is valid for this property. The value is verifyed against property type and property validate callback |
OverrideMetadata | Uses dependency property type information to override its metadata |
SetValue | Sets a new value for this property with in the specified destination |
SetValueObject | Sets a new value (boxed) for this property with in the specified destination |
Events
DependencyProperty has no events
Table of Contents