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 abstract class ItemAccessor : IItemAccessor

Inheritance: objectItemAccessor

Derived Classes: ArrayItemAccessorDescriptorItemAccessor

Implements: IItemAccessor

Constructors

C#
public ItemAccessor(PropertyGridItem owner)
Parameters:ownerPropertyGridItem

Fields

C#
protected TypeConverter converter
C#
protected UITypeEditor editor

Properties

Gets a collection of the attributes applied to the property.

C#
public virtual AttributeCollection Attributes { get; }

Implements: IItemAccessor.Attributes

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

C#
public virtual string Category { get; }

Implements: IItemAccessor.Category

Gets or sets the description associated with this property.

C#
public virtual string Description { get; }

Implements: IItemAccessor.Description

Gets the property display name

C#
public virtual string DisplayName { get; }

Implements: IItemAccessor.DisplayName

Gets the property name.

C#
public virtual string Name { get; }

Implements: IItemAccessor.Name

Gets the PropertyGridItem associated with this accessor.

C#
public PropertyGridItem Owner { get; }

Gets the property descriptor for this property.

C#
public virtual PropertyDescriptor PropertyDescriptor { get; }

Implements: IItemAccessor.PropertyDescriptor

Gets the property type.

C#
public virtual Type PropertyType { get; }

Implements: IItemAccessor.PropertyType

Gets a value indicating whether the property is editable.

C#
public virtual bool ReadOnly { get; }

Implements: IItemAccessor.ReadOnly

Gets the TypeConverter associated with this property

C#
public virtual TypeConverter TypeConverter { get; }

Implements: IItemAccessor.TypeConverter

Gets the UITypeEditor associated with this property

C#
public virtual UITypeEditor UITypeEditor { get; }

Implements: IItemAccessor.UITypeEditor

Gets or sets the property value.

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

Implements: IItemAccessor.Value