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

Exposes a RadListView and its visible rows, groups, and Details-view headers through the Windows accessibility tree.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadListViewAccessibleObject : Control.ControlAccessibleObject, IReflect, IAccessible

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadListViewAccessibleObject...

Implements: IAccessibleIReflect

Constructors

Creates the root accessible object for the specified list view.

C#
public RadListViewAccessibleObject(RadListView control)
Parameters:controlRadListView

The list view represented by this object.

Properties

Gets a row-and-column count in Details view; otherwise, returns the base control description.

C#
public override string Description { get; }
Property Value:

A description of the list view's contents.

Overrides: Control.ControlAccessibleObject.Description

Gets or replaces the list view represented by this accessible object.

C#
public RadListView ListView { get; set; }
Property Value:

The associated list view.

Gets the accessible role reported for the list view.

C#
public override AccessibleRole Role { get; }
Property Value:

List.

Overrides: Control.ControlAccessibleObject.Role

Gets or sets the text of the selected item.

C#
public override string Value { get; set; }
Property Value:

The selected item's text, or null when no item is selected.

Overrides: AccessibleObject.Value

Setting this property requires a selected item; the setter does not handle the no-selection case.

Methods

Gets the accessible child at the specified position in the current view.

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

The zero-based position of the child.

Returns:

AccessibleObject

A header row, data row, group, or item, depending on the view and traversed item.

Overrides: AccessibleObject.GetChild(int)

When Details view headers are shown, the header row occupies index zero and shifts traversed children by one.

Counts the items and groups exposed by the view's traverser.

C#
public override int GetChildCount()
Returns:

int

The traversed item and group count, or zero when the control is disposed.

Overrides: AccessibleObject.GetChildCount()

The count does not include the Details-view header row that GetChild(int) can return at index zero.

Returns the accessible object at the specified screen coordinates.

C#
public override AccessibleObject HitTest(int x, int y)
Parameters:xint

The screen x-coordinate.

yint

The screen y-coordinate.

Returns:

AccessibleObject

The accessible item, row, or header under the point; otherwise, null.

Overrides: AccessibleObject.HitTest(int, int)

Gets the accessible object in the requested navigation direction.

C#
public override AccessibleObject Navigate(AccessibleNavigation direction)
Parameters:directionAccessibleNavigation

The requested navigation direction.

Returns:

AccessibleObject

null; this object does not implement directional navigation.

Overrides: AccessibleObject.Navigate(AccessibleNavigation)