Class
PropertyMetadata

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:

cs-api-definition
public class PropertyMetadata : PropertyMetadata

Inheritance: objectPropertyMetadata

Derived Classes: FrameworkPropertyMetadata

Constructors

PropertyMetadata()

Initializes a new instance of the PropertyMetadata class.

Declaration

cs-api-definition
public PropertyMetadata()

PropertyMetadata(PropertyChangedCallback)

Initializes a new instance of the PropertyMetadata class with the specified PropertyChangedCallback implementation reference.

Declaration

cs-api-definition
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

cs-api-definition
public PropertyMetadata(object defaultValue)

Parameters

defaultValue

object

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

cs-api-definition
public PropertyMetadata(object defaultValue, PropertyChangedCallback propertyChangedCallback)

Parameters

defaultValue

object

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

cs-api-definition
public PropertyMetadata(object defaultValue, PropertyChangedCallback propertyChangedCallback, CoerceValueCallback coerceValueCallback)

Parameters

defaultValue

object

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

CoerceValueCallback

Reference to a handler implementation that is to be called whenever the property system calls CoerceValue against this property.