NoesisGUI
 

🔹 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.

Inheritance Hierarchy

DependencyProperty

📚 Class Hierarchy Index

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    Reflection Property


Attached Properties

DependencyProperty has no attached properties

Methods

Name Description
 CheckType(const Type*) Indicates if the value type is valid for this property
 CheckType(BaseComponent*) Indicates if the boxed value is valid for this property type
 ClearAnimation(DependencyObject*) 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(const DependencyObject*) Gets the boxed baseValue of this property in the given dependency object
 GetDefaultValue(const TypeClass*) Gets property default value for the specified type
 GetDefaultValueObject(const TypeClass*) Gets property default value as a boxed object for the specified type
 GetMetadata(const TypeClass*) 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(const DependencyObject*) Gets the raw value of the property from the specified dependency object
 GetValueObject(const void*) Gets the a boxed value or Ptr object for this property from a raw pointer
 GetValueObject(const DependencyObject*) Gets the boxed value of this property in the given dependency object
 IsReadOnly() Checks if property is read-only
 IsSameValue(const DependencyObject*, BaseComponent*) Compares the value of this property in the specified dependency object with the supplied value and returns true if they are the same
 IsSameValue(const void*, BaseComponent*) Compares 2 values and returns true when they are the same value
 IsSameValue(const void*, const void*) Compares 2 values and returns true when they are the same value
 IsValidValue(BaseComponent*) Indicates if the specified value is valid for this property. The value is verifyed against property type and property validate callback
 OverrideMetadata(const TypeClass*, PropertyMetadata*) Uses dependency property type information to override its metadata
 SetValue(DependencyObject*, const void*, uint8_t, Expression*, const PropertyMetadata*, Value::Destination) Sets a new value for this property with in the specified destination
 SetValueObject(DependencyObject*, BaseComponent*, uint8_t, Expression*, const PropertyMetadata*, Value::Destination) Sets a new value (boxed) for this property with in the specified destination

Events

DependencyProperty has no events

 
© 2017 Noesis Technologies