Class PropertyStorePropertyDescriptor
A descriptor for the PropertyStoreItem used in the RadPropertyStore.
Inheritance
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class PropertyStorePropertyDescriptor : PropertyDescriptor
Constructors
PropertyStorePropertyDescriptor(PropertyStoreItem)
Creates a new instance of the PropertyStorePropertyDescriptor.
Declaration
public PropertyStorePropertyDescriptor(PropertyStoreItem item)
Parameters
PropertyStoreItem
item
The item this descriptor would represent. |
Properties
ComponentType
Gets the type of component this descriptor is used for.
Declaration
public override Type ComponentType { get; }
Property Value
System.Type
|
IsReadOnly
Gets a value indicating whether the current item is read only.
Declaration
public override bool IsReadOnly { get; }
Property Value
System.Boolean
|
PropertyType
Gets the type of the current item.
Declaration
public override Type PropertyType { get; }
Property Value
System.Type
|
Methods
CanResetValue(Object)
Returns a value indicating if Reset can be performed for this item.
Declaration
public override bool CanResetValue(object component)
Parameters
System.Object
component
|
Returns
System.Boolean
Always returns true. |
GetValue(Object)
Gets the value of the current item.
Declaration
public override object GetValue(object component)
Parameters
System.Object
component
|
Returns
System.Object
The value of the item. |
ResetValue(Object)
Resets the value of the current item to its initial value.
Declaration
public override void ResetValue(object component)
Parameters
System.Object
component
|
SetValue(Object, Object)
Sets a new value to the current item. The value to be set to the current item.
Declaration
public override void SetValue(object component, object value)
Parameters
System.Object
component
|
System.Object
value
|
ShouldSerializeValue(Object)
Gets a value indicating whether the value should be serialized.
Declaration
public override bool ShouldSerializeValue(object component)
Parameters
System.Object
component
|
Returns
System.Boolean
Always returns true. |