RadPropertyMetadata
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
Initializes a new instance of the RadPropertyMetadata class.
public RadPropertyMetadata()
Initializes a new instance of the RadPropertyMetadata class using an object and a property changed callback.
public RadPropertyMetadata(object defaultValue, PropertyChangedCallback propertyChangedCallback)
Initializes a new instance of the RadPropertyMetadata class using the default value of the property.
Initializes a new instance of the RadPropertyMetadata class using a property changed callback.
public RadPropertyMetadata(PropertyChangedCallback propertyChangedCallback)
Properties
public AttachedPropertyUsage AttachedPropertyUsage { get; }
public CoerceValueCallback CoerceValueCallback { get; set; }
Gets or sets the default value of the property.
public object DefaultValue { get; set; }
public bool IsDefaultValueModified { get; }
Gets or sets a value indicating whether the property is inherited.
public bool IsInherited { get; set; }
Gets or sets the PropertyChangedCallback
public PropertyChangedCallback PropertyChangedCallback { get; set; }
Gets a value indicating whether the property is read-only.
public bool ReadOnly { get; }
Methods
protected virtual object CreateDefaultValue(RadObject owner, RadProperty property)
public object GetDefaultValue(RadObject owner, RadProperty property)
public void InvokeMerge(RadPropertyMetadata baseMetadata, RadProperty dp)
protected virtual void Merge(RadPropertyMetadata baseMetadata, RadProperty dp)
protected virtual void OnApply(RadProperty dp, Type targetType)
public void SetAttachedPropertyUsage(AttachedPropertyUsage attachedPropertyUsage)