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

Definition

Namespace:Telerik.WinControls.UI.PropertyGridData

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class DescriptorItemAccessor : ItemAccessor, IItemAccessor

Inheritance: objectItemAccessorDescriptorItemAccessor

Derived Classes: ImmutableItemAccessor

Implements: IItemAccessor

Inherited Members ItemAccessor.editorItemAccessor.converterItemAccessor.Owner

Constructors

C#
public DescriptorItemAccessor(PropertyGridItem owner, PropertyDescriptor descriptor)
Parameters:ownerPropertyGridItemdescriptorPropertyDescriptor

Properties

Gets a collection of the attributes applied to the property.

C#
public override AttributeCollection Attributes { get; }

Overrides: ItemAccessor.Attributes

Gets the categoty of the property from its CategoryAttribute or returns "Other" if no category is specified.

C#
public override string Category { get; }

Overrides: ItemAccessor.Category

Gets or sets the description associated with this property.

C#
public override string Description { get; }

Overrides: ItemAccessor.Description

Gets the property display name

C#
public override string DisplayName { get; }

Overrides: ItemAccessor.DisplayName

Gets the property name.

C#
public override string Name { get; }

Overrides: ItemAccessor.Name

Gets the property descriptor for this property.

C#
public override PropertyDescriptor PropertyDescriptor { get; }

Overrides: ItemAccessor.PropertyDescriptor

Gets the property type.

C#
public override Type PropertyType { get; }

Overrides: ItemAccessor.PropertyType

Gets a value indicating whether the property is editable.

C#
public override bool ReadOnly { get; }

Overrides: ItemAccessor.ReadOnly

Gets the TypeConverter associated with this property

C#
public override TypeConverter TypeConverter { get; }

Overrides: ItemAccessor.TypeConverter

Gets the UITypeEditor associated with this property

C#
public override UITypeEditor UITypeEditor { get; }

Overrides: ItemAccessor.UITypeEditor

Gets or sets the property value.

C#
public override object Value { get; set; }

Overrides: ItemAccessor.Value

Methods

C#
protected virtual object GetPropertyValueCore(object target)
Parameters:targetobjectReturns:

object

C#
protected virtual void SetPropertyValueCore(object obj, object value)
Parameters:objobjectvalueobject