Class PropertyMetadata
Defines certain behavior aspects of a dependency property as it is applied to a specific type, including conditions it was registered with.
Inheritance
Namespace: Telerik.Windows
Assembly: Telerik.Windows.Controls.dll
Syntax
public class PropertyMetadata : PropertyMetadata
Constructors
PropertyMetadata()
Initializes a new instance of the PropertyMetadata class.
Declaration
public PropertyMetadata()
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
System.Object
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
System.Object
defaultValue
The default value to specify for a dependency property, usually provided as a value of some specific type. |
System.Windows.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
System.Object
defaultValue
The default value to specify for a dependency property, usually provided as a value of some specific type. |
System.Windows.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
coerceValueCallback
Reference to a handler implementation that is to be called whenever the property system calls CoerceValue against this property. |
PropertyMetadata(PropertyChangedCallback)
Initializes a new instance of the PropertyMetadata class with the specified PropertyChangedCallback implementation reference.
Declaration
public PropertyMetadata(PropertyChangedCallback propertyChangedCallback)
Parameters
System.Windows.PropertyChangedCallback
propertyChangedCallback
Reference to a handler implementation that is to be called by the property system whenever the effective value of the property changes. |