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

Exposes a RadPropertyGrid as an accessible table whose children represent traversed property and group rows.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
[ComVisible(true)]
public class RadPropertyGridAccessibilityInstance : Control.ControlAccessibleObject, IReflect, IAccessible

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadPropertyGridAccessibilityInstance...

Implements: IAccessibleIReflect

Constructors

Creates an accessibility representation for the specified property grid.

C#
public RadPropertyGridAccessibilityInstance(RadPropertyGrid control)
Parameters:controlRadPropertyGrid

The grid whose rows are exposed to accessibility clients.

Properties

Gets or sets the grid used to provide this accessibility representation.

C#
public RadPropertyGrid Control { get; set; }

Gets a description containing the root item count and the fixed two-column layout.

C#
public override string Description { get; }

Overrides: Control.ControlAccessibleObject.Description

Gets a name containing the root item count plus one and the two-column count; setting the name renames the grid.

C#
public override string Name { get; set; }

Overrides: Control.ControlAccessibleObject.Name

Gets the table role used by accessibility clients.

C#
public override AccessibleRole Role { get; }

Overrides: Control.ControlAccessibleObject.Role

Methods

Creates an accessible row object for the traversed item at the specified position.

C#
public override AccessibleObject GetChild(int index)
Parameters:indexint

The zero-based position of the row in the PropertyGrid traversal.

Returns:

AccessibleObject

A group-row or property-row accessibility object for the traversed item.

Overrides: AccessibleObject.GetChild(int)

Counts the rows exposed by the PropertyGrid traverser, or returns zero after the grid is disposed.

C#
public override int GetChildCount()
Returns:

int

The number of traversed property and group rows.

Overrides: AccessibleObject.GetChildCount()