Class FrameworkPropertyMetadata
Reports or applies metadata for a dependency property, specifically adding framework-specific property system characteristics.
Namespace: Telerik.Windows
Assembly: Telerik.Windows.Controls.dll
Syntax
public class FrameworkPropertyMetadata : PropertyMetadata
Constructors
FrameworkPropertyMetadata()
Initializes a new instance of the FrameworkPropertyMetadata class.
Declaration
public FrameworkPropertyMetadata()
FrameworkPropertyMetadata(Object)
Initializes a new instance of the FrameworkPropertyMetadata class with the specified default value.
Declaration
public FrameworkPropertyMetadata(object defaultValue)
Parameters
System.Object
defaultValue
The default value of the dependency property, usually provided as a value of a specific type. |
FrameworkPropertyMetadata(Object, PropertyChangedCallback)
Initializes a new instance of the FrameworkPropertyMetadata class with the provided default value and specified PropertyChangedCallback callback.
Declaration
public FrameworkPropertyMetadata(object defaultValue, PropertyChangedCallback propertyChangedCallback)
Parameters
System.Object
defaultValue
The default value of the dependency property, usually provided as a value of a specific type. |
System.Windows.PropertyChangedCallback
propertyChangedCallback
A reference to a handler implementation that the property system will call whenever the effective value of the property changes. |
FrameworkPropertyMetadata(Object, PropertyChangedCallback, CoerceValueCallback)
Initializes a new instance of the FrameworkPropertyMetadata class with the provided default value and specified callbacks.
Declaration
public FrameworkPropertyMetadata(object defaultValue, PropertyChangedCallback propertyChangedCallback, CoerceValueCallback coerceValueCallback)
Parameters
System.Object
defaultValue
The default value of the dependency property, usually provided as a value of a specific type. |
System.Windows.PropertyChangedCallback
propertyChangedCallback
A reference to a handler implementation that the property system will call whenever the effective value of the property changes. |
CoerceValueCallback
coerceValueCallback
A reference to a handler implementation will be called whenever the property system calls CoerceValue for this dependency property. |
FrameworkPropertyMetadata(Object, FrameworkPropertyMetadataOptions)
Initializes a new instance of the FrameworkPropertyMetadata class with the provided default value and framework-level metadata options.
Declaration
public FrameworkPropertyMetadata(object defaultValue, FrameworkPropertyMetadataOptions metadataOptions)
Parameters
System.Object
defaultValue
The default value of the dependency property, usually provided as a value of a specific type. |
FrameworkPropertyMetadataOptions
metadataOptions
The metadata option flags (a combination of FrameworkPropertyMetadataOptions values). These options specify characteristics of the dependency property that interact with systems such as layout. |
FrameworkPropertyMetadata(Object, FrameworkPropertyMetadataOptions, PropertyChangedCallback)
Initializes a new instance of the FrameworkPropertyMetadata class with the provided default value and framework metadata options, and specified PropertyChangedCallback callback.
Declaration
public FrameworkPropertyMetadata(object defaultValue, FrameworkPropertyMetadataOptions metadataOptions, PropertyChangedCallback propertyChangedCallback)
Parameters
System.Object
defaultValue
The default value of the dependency property, usually provided as a value of a specific type. |
FrameworkPropertyMetadataOptions
metadataOptions
The metadata option flags (a combination of FrameworkPropertyMetadataOptions values). These options specify characteristics of the dependency property that interact with systems such as layout. |
System.Windows.PropertyChangedCallback
propertyChangedCallback
A reference to a handler implementation that the property system will call whenever the effective value of the property changes. |
FrameworkPropertyMetadata(Object, FrameworkPropertyMetadataOptions, PropertyChangedCallback, CoerceValueCallback)
Initializes a new instance of the FrameworkPropertyMetadata class with the provided default value and framework metadata options, and specified callbacks.
Declaration
public FrameworkPropertyMetadata(object defaultValue, FrameworkPropertyMetadataOptions metadataOptions, PropertyChangedCallback propertyChangedCallback, CoerceValueCallback coerceValueCallback)
Parameters
System.Object
defaultValue
The default value of the dependency property, usually provided as a value of a specific type. |
FrameworkPropertyMetadataOptions
metadataOptions
The metadata option flags (a combination of FrameworkPropertyMetadataOptions values). These options specify characteristics of the dependency property that interact with systems such as layout. |
System.Windows.PropertyChangedCallback
propertyChangedCallback
A reference to a handler implementation that the property system will call whenever the effective value of the property changes. |
CoerceValueCallback
coerceValueCallback
A reference to a handler implementation will be called whenever the property system calls CoerceValue for this dependency property. |
FrameworkPropertyMetadata(PropertyChangedCallback)
Initializes a new instance of the FrameworkPropertyMetadata class with the specified PropertyChangedCallback callback.
Declaration
public FrameworkPropertyMetadata(PropertyChangedCallback propertyChangedCallback)
Parameters
System.Windows.PropertyChangedCallback
propertyChangedCallback
A reference to a handler implementation that the property system will call whenever the effective value of the property changes. |