Class
RadPropertyMetadata

Represents metadata that describes the characteristics and behavior of a RadProperty.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public class RadPropertyMetadata

Inheritance: objectRadPropertyMetadata

Derived Classes: RadElementPropertyMetadataDocumentPropertyMetadata

Constructors

RadPropertyMetadata()

Initializes a new instance of the RadPropertyMetadata class.

Declaration

cs-api-definition
public RadPropertyMetadata()

RadPropertyMetadata(PropertyChangedCallback)

Initializes a new instance of the RadPropertyMetadata class using a property changed callback.

Declaration

cs-api-definition
public RadPropertyMetadata(PropertyChangedCallback propertyChangedCallback)

Parameters

propertyChangedCallback

PropertyChangedCallback

RadPropertyMetadata(object)

Initializes a new instance of the RadPropertyMetadata class using the default value of the property.

Declaration

cs-api-definition
public RadPropertyMetadata(object defaultValue)

Parameters

defaultValue

object

RadPropertyMetadata(object, PropertyChangedCallback)

Initializes a new instance of the RadPropertyMetadata class using an object and a property changed callback.

Declaration

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

Parameters

defaultValue

object

propertyChangedCallback

PropertyChangedCallback

Properties

AttachedPropertyUsage

Declaration

cs-api-definition
public AttachedPropertyUsage AttachedPropertyUsage { get; }

Property Value

AttachedPropertyUsage

CoerceValueCallback

Declaration

cs-api-definition
public CoerceValueCallback CoerceValueCallback { get; set; }

Property Value

CoerceValueCallback

DefaultValue

Gets or sets the default value of the property.

Declaration

cs-api-definition
public object DefaultValue { get; set; }

Property Value

object

IsDefaultValueModified

Declaration

cs-api-definition
public bool IsDefaultValueModified { get; }

Property Value

bool

IsInherited

Gets or sets a value indicating whether the property is inherited.

Declaration

cs-api-definition
public bool IsInherited { get; set; }

Property Value

bool

IsSealed

Declaration

cs-api-definition
protected bool IsSealed { get; }

Property Value

bool

PropertyChangedCallback

Gets or sets the PropertyChangedCallback

Declaration

cs-api-definition
public PropertyChangedCallback PropertyChangedCallback { get; set; }

Property Value

PropertyChangedCallback

ReadOnly

Gets a value indicating whether the property is read-only.

Declaration

cs-api-definition
public bool ReadOnly { get; }

Property Value

bool

Sealed

Declaration

cs-api-definition
public bool Sealed { get; set; }

Property Value

bool

Methods

Copy(RadProperty)

Declaration

cs-api-definition
public RadPropertyMetadata Copy(RadProperty dp)

Parameters

dp

RadProperty

Returns

RadPropertyMetadata

CreateDefaultValue(RadObject, RadProperty)

Declaration

cs-api-definition
protected virtual object CreateDefaultValue(RadObject owner, RadProperty property)

Parameters

owner

RadObject

property

RadProperty

Returns

object

CreateInstance()

Declaration

cs-api-definition
protected virtual RadPropertyMetadata CreateInstance()

Returns

RadPropertyMetadata

DefaultValueWasSet()

Declaration

cs-api-definition
public bool DefaultValueWasSet()

Returns

bool

GetDefaultValue(RadObject, RadProperty)

Declaration

cs-api-definition
public object GetDefaultValue(RadObject owner, RadProperty property)

Parameters

owner

RadObject

property

RadProperty

Returns

object

InvokeMerge(RadPropertyMetadata, RadProperty)

Declaration

cs-api-definition
public void InvokeMerge(RadPropertyMetadata baseMetadata, RadProperty dp)

Parameters

baseMetadata

RadPropertyMetadata

dp

RadProperty

Merge(RadPropertyMetadata, RadProperty)

Declaration

cs-api-definition
protected virtual void Merge(RadPropertyMetadata baseMetadata, RadProperty dp)

Parameters

baseMetadata

RadPropertyMetadata

dp

RadProperty

OnApply(RadProperty, Type)

Declaration

cs-api-definition
protected virtual void OnApply(RadProperty dp, Type targetType)

Parameters

dp

RadProperty

targetType

Type

ReadFlag(int)

Declaration

cs-api-definition
public bool ReadFlag(int id)

Parameters

id

int

Returns

bool

Seal(RadProperty, Type)

Declaration

cs-api-definition
public void Seal(RadProperty dp, Type targetType)

Parameters

dp

RadProperty

targetType

Type

SetAttachedPropertyUsage(AttachedPropertyUsage)

Declaration

cs-api-definition
public void SetAttachedPropertyUsage(AttachedPropertyUsage attachedPropertyUsage)

Parameters

attachedPropertyUsage

AttachedPropertyUsage

WriteFlag(int, bool)

Declaration

cs-api-definition
public void WriteFlag(int id, bool value)

Parameters

id

int

value

bool