ClassPropertyMetadata
Defines certain behavior aspects of a dependency property as it is applied to a specific type, including conditions it was registered with.
Definition
Namespace:Telerik.UI.Xaml
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class PropertyMetadata : PropertyMetadata
Inheritance: objectPropertyMetadata
Derived Classes:
Constructors
PropertyMetadata()
Initializes a new instance of the PropertyMetadata class.
Declaration
public PropertyMetadata()
PropertyMetadata(PropertyChangedCallback)
Initializes a new instance of the PropertyMetadata class with the specified PropertyChangedCallback implementation reference.
Declaration
public PropertyMetadata(PropertyChangedCallback propertyChangedCallback)
Parameters
propertyChangedCallback
PropertyChangedCallback
Reference to a handler implementation that is to be called by the property system whenever the effective value of the property changes.
PropertyMetadata(object)
Initializes a new instance of the PropertyMetadata class with a specified default value for the dependency property that this metadata will be applied to.
Declaration
public PropertyMetadata(object defaultValue)
Parameters
defaultValue
The default value to specify for a dependency property, usually provided as a value of some specific type.
PropertyMetadata(object, PropertyChangedCallback)
Initializes a new instance of the PropertyMetadata class with the specified default value and PropertyChangedCallback implementation reference.
Declaration
public PropertyMetadata(object defaultValue, PropertyChangedCallback propertyChangedCallback)
Parameters
defaultValue
The default value to specify for a dependency property, usually provided as a value of some specific type.
propertyChangedCallback
PropertyChangedCallback
Reference to a handler implementation that is to be called by the property system whenever the effective value of the property changes.
PropertyMetadata(object, PropertyChangedCallback, CoerceValueCallback)
Initializes a new instance of the PropertyMetadata class with the specified default value and callbacks.
Declaration
public PropertyMetadata(object defaultValue, PropertyChangedCallback propertyChangedCallback, CoerceValueCallback coerceValueCallback)
Parameters
defaultValue
The default value to specify for a dependency property, usually provided as a value of some specific type.
propertyChangedCallback
PropertyChangedCallback
Reference to a handler implementation that is to be called by the property system whenever the effective value of the property changes.
coerceValueCallback
Reference to a handler implementation that is to be called whenever the property system calls CoerceValue against this property.