ItemAccessor
Provides shared owner and fallback metadata behavior for property-grid value accessors.
Definition
Namespace:Telerik.WinControls.UI.PropertyGridData
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class ItemAccessor : IItemAccessor
Inheritance: objectItemAccessor
Derived Classes:
Implements:
Constructors
Associates the accessor with the property-grid item whose value it exposes.
public ItemAccessor(PropertyGridItem owner)
The item that uses this accessor.
Fields
Cached converter resolved for this accessor.
protected TypeConverter converter
Cached editor resolved for this accessor.
protected UITypeEditor editor
Properties
Gets a collection of the attributes applied to the property.
public virtual AttributeCollection Attributes { get; }
Implements:
Gets the categoty of the property from its CategoryAttribute or returns "Other" if no category is specified.
public virtual string Category { get; }
Implements:
Gets or sets the description associated with this property.
public virtual string Description { get; }
Implements:
Gets the property display name
public virtual string DisplayName { get; }
Implements:
Gets the PropertyGridItem associated with this accessor.
public PropertyGridItem Owner { get; }
Gets the property descriptor for this property.
public virtual PropertyDescriptor PropertyDescriptor { get; }
Implements:
Gets the property type.
public virtual Type PropertyType { get; }
Implements:
Gets a value indicating whether the property is editable.
public virtual bool ReadOnly { get; }
Implements:
Gets the TypeConverter associated with this property
public virtual TypeConverter TypeConverter { get; }
Implements:
Gets the UITypeEditor associated with this property
public virtual UITypeEditor UITypeEditor { get; }
Implements: