ClassRadPropertyMetadata
Represents metadata that describes the characteristics and behavior of a RadProperty.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class RadPropertyMetadata
Inheritance: objectRadPropertyMetadata
Derived Classes:
Constructors
RadPropertyMetadata()
Initializes a new instance of the RadPropertyMetadata class.
Declaration
public RadPropertyMetadata()
RadPropertyMetadata(PropertyChangedCallback)
Initializes a new instance of the RadPropertyMetadata class using a property changed callback.
Declaration
public RadPropertyMetadata(PropertyChangedCallback propertyChangedCallback)
Parameters
propertyChangedCallback
RadPropertyMetadata(object)
Initializes a new instance of the RadPropertyMetadata class using the default value of the property.
Declaration
public RadPropertyMetadata(object defaultValue)
Parameters
defaultValue
RadPropertyMetadata(object, PropertyChangedCallback)
Initializes a new instance of the RadPropertyMetadata class using an object and a property changed callback.
Declaration
public RadPropertyMetadata(object defaultValue, PropertyChangedCallback propertyChangedCallback)
Parameters
defaultValue
propertyChangedCallback
Properties
AttachedPropertyUsage
Declaration
public AttachedPropertyUsage AttachedPropertyUsage { get; }
Property Value
CoerceValueCallback
Declaration
public CoerceValueCallback CoerceValueCallback { get; set; }
Property Value
DefaultValue
Gets or sets the default value of the property.
IsInherited
Gets or sets a value indicating whether the property is inherited.
PropertyChangedCallback
Gets or sets the PropertyChangedCallback
Declaration
public PropertyChangedCallback PropertyChangedCallback { get; set; }
Property Value
ReadOnly
Gets a value indicating whether the property is read-only.
Methods
Copy(RadProperty)
Declaration
public RadPropertyMetadata Copy(RadProperty dp)
Parameters
dp
Returns
CreateDefaultValue(RadObject, RadProperty)
Declaration
protected virtual object CreateDefaultValue(RadObject owner, RadProperty property)
Parameters
owner
property
Returns
CreateInstance()
Declaration
protected virtual RadPropertyMetadata CreateInstance()
Returns
GetDefaultValue(RadObject, RadProperty)
Declaration
public object GetDefaultValue(RadObject owner, RadProperty property)
Parameters
owner
property
Returns
InvokeMerge(RadPropertyMetadata, RadProperty)
Declaration
public void InvokeMerge(RadPropertyMetadata baseMetadata, RadProperty dp)
Parameters
baseMetadata
dp
Merge(RadPropertyMetadata, RadProperty)
Declaration
protected virtual void Merge(RadPropertyMetadata baseMetadata, RadProperty dp)
Parameters
baseMetadata
dp
OnApply(RadProperty, Type)
Declaration
protected virtual void OnApply(RadProperty dp, Type targetType)
Parameters
dp
targetType
Seal(RadProperty, Type)
Declaration
public void Seal(RadProperty dp, Type targetType)
Parameters
dp
targetType
SetAttachedPropertyUsage(AttachedPropertyUsage)
Declaration
public void SetAttachedPropertyUsage(AttachedPropertyUsage attachedPropertyUsage)
Parameters
attachedPropertyUsage