New to Telerik UI for WinForms? Start a free 30-day trial

Reads and writes one element of an array-valued property.

Definition

Constructors

Associates the array element at the specified index with its property-grid item.

C#
public ArrayItemAccessor(PropertyGridItem owner, int index)
Parameters:ownerPropertyGridItem

The item representing the array element.

indexint

The zero-based index of the array element.

Properties

Gets the array element type from the parent item's array property type.

C#
public override Type PropertyType { get; }

Overrides: ItemAccessor.PropertyType

Gets or sets the value stored at the associated array index.

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

Overrides: ItemAccessor.Value