Class
DescriptorItemAccessor

Definition

Namespace:Telerik.WinControls.UI.PropertyGridData

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class DescriptorItemAccessor : ItemAccessor, IItemAccessor

Inheritance: objectItemAccessorDescriptorItemAccessor

Derived Classes: ImmutableItemAccessor

Implements: IItemAccessor

Inherited Members ItemAccessor.editorItemAccessor.converterItemAccessor.Owner

Constructors

DescriptorItemAccessor(PropertyGridItem, PropertyDescriptor)

Declaration

cs-api-definition
public DescriptorItemAccessor(PropertyGridItem owner, PropertyDescriptor descriptor)

Parameters

owner

PropertyGridItem

descriptor

PropertyDescriptor

Properties

Attributes

Gets a collection of the attributes applied to the property.

Declaration

cs-api-definition
public override AttributeCollection Attributes { get; }

Property Value

AttributeCollection

Overrides ItemAccessor.Attributes

Category

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

Declaration

cs-api-definition
public override string Category { get; }

Property Value

string

Overrides ItemAccessor.Category

Description

Gets or sets the description associated with this property.

Declaration

cs-api-definition
public override string Description { get; }

Property Value

string

Overrides ItemAccessor.Description

DisplayName

Gets the property display name

Declaration

cs-api-definition
public override string DisplayName { get; }

Property Value

string

Overrides ItemAccessor.DisplayName

Name

Gets the property name.

Declaration

cs-api-definition
public override string Name { get; }

Property Value

string

Overrides ItemAccessor.Name

PropertyDescriptor

Gets the property descriptor for this property.

Declaration

cs-api-definition
public override PropertyDescriptor PropertyDescriptor { get; }

Property Value

PropertyDescriptor

Overrides ItemAccessor.PropertyDescriptor

PropertyType

Gets the property type.

Declaration

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

Property Value

Type

Overrides ItemAccessor.PropertyType

ReadOnly

Gets a value indicating whether the property is editable.

Declaration

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

Property Value

bool

Overrides ItemAccessor.ReadOnly

TypeConverter

Gets the TypeConverter associated with this property

Declaration

cs-api-definition
public override TypeConverter TypeConverter { get; }

Property Value

TypeConverter

Overrides ItemAccessor.TypeConverter

UITypeEditor

Gets the UITypeEditor associated with this property

Declaration

cs-api-definition
public override UITypeEditor UITypeEditor { get; }

Property Value

UITypeEditor

Overrides ItemAccessor.UITypeEditor

Value

Gets or sets the property value.

Declaration

cs-api-definition
public override object Value { get; set; }

Property Value

object

Overrides ItemAccessor.Value

Methods

GetPropertyValueCore(object)

Declaration

cs-api-definition
protected virtual object GetPropertyValueCore(object target)

Parameters

target

object

Returns

object

SetPropertyValueCore(object, object)

Declaration

cs-api-definition
protected virtual void SetPropertyValueCore(object obj, object value)

Parameters

obj

object

value

object