Class
FrameworkPropertyMetadata

Reports or applies metadata for a dependency property, specifically adding framework-specific property system characteristics.

Definition

Namespace:Telerik.UI.Xaml

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class FrameworkPropertyMetadata : PropertyMetadata

Inheritance: objectPropertyMetadataFrameworkPropertyMetadata

Constructors

FrameworkPropertyMetadata()

Initializes a new instance of the FrameworkPropertyMetadata class.

Declaration

cs-api-definition
public FrameworkPropertyMetadata()

FrameworkPropertyMetadata(PropertyChangedCallback)

Initializes a new instance of the FrameworkPropertyMetadata class with the specified PropertyChangedCallback callback.

Declaration

cs-api-definition
public FrameworkPropertyMetadata(PropertyChangedCallback propertyChangedCallback)

Parameters

propertyChangedCallback

PropertyChangedCallback

A reference to a handler implementation that the property system will call whenever the effective value of the property changes.

FrameworkPropertyMetadata(object)

Initializes a new instance of the FrameworkPropertyMetadata class with the specified default value.

Declaration

cs-api-definition
public FrameworkPropertyMetadata(object defaultValue)

Parameters

defaultValue

object

The default value of the dependency property, usually provided as a value of a specific type.

FrameworkPropertyMetadata(object, FrameworkPropertyMetadataOptions)

Initializes a new instance of the FrameworkPropertyMetadata class with the provided default value and framework-level metadata options.

Declaration

cs-api-definition
public FrameworkPropertyMetadata(object defaultValue, FrameworkPropertyMetadataOptions metadataOptions)

Parameters

defaultValue

object

The default value of the dependency property, usually provided as a value of a specific type.

metadataOptions

FrameworkPropertyMetadataOptions

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

cs-api-definition
public FrameworkPropertyMetadata(object defaultValue, FrameworkPropertyMetadataOptions metadataOptions, PropertyChangedCallback propertyChangedCallback)

Parameters

defaultValue

object

The default value of the dependency property, usually provided as a value of a specific type.

metadataOptions

FrameworkPropertyMetadataOptions

The metadata option flags (a combination of FrameworkPropertyMetadataOptions values). These options specify characteristics of the dependency property that interact with systems such as layout.

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

cs-api-definition
public FrameworkPropertyMetadata(object defaultValue, FrameworkPropertyMetadataOptions metadataOptions, PropertyChangedCallback propertyChangedCallback, CoerceValueCallback coerceValueCallback)

Parameters

defaultValue

object

The default value of the dependency property, usually provided as a value of a specific type.

metadataOptions

FrameworkPropertyMetadataOptions

The metadata option flags (a combination of FrameworkPropertyMetadataOptions values). These options specify characteristics of the dependency property that interact with systems such as layout.

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, PropertyChangedCallback)

Initializes a new instance of the FrameworkPropertyMetadata class with the provided default value and specified PropertyChangedCallback callback.

Declaration

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

Parameters

defaultValue

object

The default value of the dependency property, usually provided as a value of a specific type.

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

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

Parameters

defaultValue

object

The default value of the dependency property, usually provided as a value of a specific type.

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.