Class RadPropertyMetadata
Represents metadata for a RadProperty. RadPropertyMetadata describes the property. For example, through DefaultValue property you can get or set the default value for the property.
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class RadPropertyMetadata
Constructors
RadPropertyMetadata()
Initializes a new instance of the RadPropertyMetadata class.
Declaration
public RadPropertyMetadata()
RadPropertyMetadata(Object)
Initializes a new instance of the RadPropertyMetadata class using the default value of the property.
Declaration
public RadPropertyMetadata(object defaultValue)
Parameters
System.
|
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
System.
|
Property
|
RadPropertyMetadata(PropertyChangedCallback)
Initializes a new instance of the RadPropertyMetadata class using a property changed callback.
Declaration
public RadPropertyMetadata(PropertyChangedCallback propertyChangedCallback)
Parameters
Property
|
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.
Declaration
public object DefaultValue { get; set; }
Property Value
System.
|
IsDefaultValueModified
Declaration
public bool IsDefaultValueModified { get; }
Property Value
System.
|
IsInherited
Gets or sets a value indicating whether the property is inherited.
Declaration
public bool IsInherited { get; set; }
Property Value
System.
|
IsSealed
Declaration
protected bool IsSealed { get; }
Property Value
System.
|
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.
Declaration
public bool ReadOnly { get; }
Property Value
System.
|
Sealed
Declaration
public bool Sealed { get; set; }
Property Value
System.
|
Methods
Copy(RadProperty)
CreateDefaultValue(RadObject, RadProperty)
Declaration
protected virtual object CreateDefaultValue(RadObject owner, RadProperty property)
Parameters
Rad
|
Rad
|
Returns
System.
|
CreateInstance()
DefaultValueWasSet()
Declaration
public bool DefaultValueWasSet()
Returns
System.
|
GetDefaultValue(RadObject, RadProperty)
Declaration
public object GetDefaultValue(RadObject owner, RadProperty property)
Parameters
Rad
|
Rad
|
Returns
System.
|
InvokeMerge(RadPropertyMetadata, RadProperty)
Declaration
public void InvokeMerge(RadPropertyMetadata baseMetadata, RadProperty dp)
Parameters
Rad
|
Rad
|
Merge(RadPropertyMetadata, RadProperty)
Declaration
protected virtual void Merge(RadPropertyMetadata baseMetadata, RadProperty dp)
Parameters
Rad
|
Rad
|
OnApply(RadProperty, Type)
Declaration
protected virtual void OnApply(RadProperty dp, Type targetType)
Parameters
Rad
|
System.
|
ReadFlag(Int32)
Declaration
public bool ReadFlag(int id)
Parameters
System.
|
Returns
System.
|
Seal(RadProperty, Type)
Declaration
public void Seal(RadProperty dp, Type targetType)
Parameters
Rad
|
System.
|
SetAttachedPropertyUsage(AttachedPropertyUsage)
Declaration
public void SetAttachedPropertyUsage(AttachedPropertyUsage attachedPropertyUsage)
Parameters
Attached
|
WriteFlag(Int32, Boolean)
Declaration
public void WriteFlag(int id, bool value)
Parameters
System.
|
System.
|