Class
PropertyStorePropertyDescriptor

A descriptor for the PropertyStoreItem used in the RadPropertyStore.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class PropertyStorePropertyDescriptor : PropertyDescriptor

Inheritance: objectMemberDescriptorPropertyDescriptorPropertyStorePropertyDescriptor

Inherited Members PropertyDescriptor.AddValueChanged(object, EventHandler)PropertyDescriptor.Equals(object)PropertyDescriptor.CreateInstance(Type)PropertyDescriptor.FillAttributes(IList)PropertyDescriptor.GetChildProperties()PropertyDescriptor.GetChildProperties(Attribute[])PropertyDescriptor.GetChildProperties(object)PropertyDescriptor.GetChildProperties(object, Attribute[])PropertyDescriptor.GetEditor(Type)PropertyDescriptor.GetHashCode()PropertyDescriptor.GetInvocationTarget(Type, object)PropertyDescriptor.GetTypeFromName(string)PropertyDescriptor.OnValueChanged(object, EventArgs)PropertyDescriptor.RemoveValueChanged(object, EventHandler)PropertyDescriptor.GetValueChangedHandler(object)PropertyDescriptor.ConverterPropertyDescriptor.IsLocalizablePropertyDescriptor.SerializationVisibilityPropertyDescriptor.SupportsChangeEventsMemberDescriptor.CreateAttributeCollection()MemberDescriptor.FindMethod(Type, string, Type[], Type)MemberDescriptor.FindMethod(Type, string, Type[], Type, bool)MemberDescriptor.GetSite(object)MemberDescriptor.GetInvokee(Type, object)MemberDescriptor.AttributeArrayMemberDescriptor.AttributesMemberDescriptor.CategoryMemberDescriptor.DescriptionMemberDescriptor.IsBrowsableMemberDescriptor.NameMemberDescriptor.NameHashCodeMemberDescriptor.DesignTimeOnlyMemberDescriptor.DisplayName

Constructors

PropertyStorePropertyDescriptor(PropertyStoreItem)

Creates a new instance of the PropertyStorePropertyDescriptor.

Declaration

cs-api-definition
public PropertyStorePropertyDescriptor(PropertyStoreItem item)

Parameters

item

PropertyStoreItem

The item this descriptor would represent.

Properties

ComponentType

Gets the type of component this descriptor is used for.

Declaration

cs-api-definition
public override Type ComponentType { get; }

Property Value

Type

Overrides PropertyDescriptor.ComponentType

IsReadOnly

Gets a value indicating whether the current item is read only.

Declaration

cs-api-definition
public override bool IsReadOnly { get; }

Property Value

bool

Overrides PropertyDescriptor.IsReadOnly

PropertyType

Gets the type of the current item.

Declaration

cs-api-definition
public override Type PropertyType { get; }

Property Value

Type

Overrides PropertyDescriptor.PropertyType

Methods

CanResetValue(object)

Returns a value indicating if Reset can be performed for this item.

Declaration

cs-api-definition
public override bool CanResetValue(object component)

Parameters

component

object

Returns

bool

Always returns true.

Overrides PropertyDescriptor.CanResetValue(object)

GetValue(object)

Gets the value of the current item.

Declaration

cs-api-definition
public override object GetValue(object component)

Parameters

component

object

Returns

object

The value of the item.

Overrides PropertyDescriptor.GetValue(object)

ResetValue(object)

Resets the value of the current item to its initial value.

Declaration

cs-api-definition
public override void ResetValue(object component)

Parameters

component

object

Overrides PropertyDescriptor.ResetValue(object)

SetValue(object, object)

Sets a new value to the current item.

The value to be set to the current item.

Declaration

cs-api-definition
public override void SetValue(object component, object value)

Parameters

component

object

value

object

Overrides PropertyDescriptor.SetValue(object, object)

ShouldSerializeValue(object)

Gets a value indicating whether the value should be serialized.

Declaration

cs-api-definition
public override bool ShouldSerializeValue(object component)

Parameters

component

object

Returns

bool

Always returns true.

Overrides PropertyDescriptor.ShouldSerializeValue(object)