New to Telerik UI for WinFormsStart a free 30-day trial

A descriptor for the PropertyStoreItem used in the RadPropertyStore.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
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

Creates a new instance of the PropertyStorePropertyDescriptor.

C#
public PropertyStorePropertyDescriptor(PropertyStoreItem item)
Parameters:itemPropertyStoreItem

The item this descriptor would represent.

Properties

Gets the type of component this descriptor is used for.

C#
public override Type ComponentType { get; }

Overrides: PropertyDescriptor.ComponentType

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

C#
public override bool IsReadOnly { get; }

Overrides: PropertyDescriptor.IsReadOnly

Gets the type of the current item.

C#
public override Type PropertyType { get; }

Overrides: PropertyDescriptor.PropertyType

Methods

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

C#
public override bool CanResetValue(object component)
Parameters:componentobjectReturns:

bool

Always returns true.

Overrides: PropertyDescriptor.CanResetValue(object)

Gets the value of the current item.

C#
public override object GetValue(object component)
Parameters:componentobjectReturns:

object

The value of the item.

Overrides: PropertyDescriptor.GetValue(object)

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

C#
public override void ResetValue(object component)
Parameters:componentobject

Overrides: PropertyDescriptor.ResetValue(object)

Sets a new value to the current item.

The value to be set to the current item.
C#
public override void SetValue(object component, object value)
Parameters:componentobjectvalueobject

Overrides: PropertyDescriptor.SetValue(object, object)

Gets a value indicating whether the value should be serialized.

C#
public override bool ShouldSerializeValue(object component)
Parameters:componentobjectReturns:

bool

Always returns true.

Overrides: PropertyDescriptor.ShouldSerializeValue(object)