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

Exposes a list data item with its selection, hover, bounds, and navigation state.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
[ComVisible(true)]
public class RadListDataItemAccessibleObject : RadItemAccessibleObject, IReflect, IAccessible

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectRadItemAccessibleObjectRadListDataItemAccessibleObject...

Implements: IAccessibleIReflect

Constructors

Creates an accessibility object for a list data item.

C#
public RadListDataItemAccessibleObject(RadListDataItem item, AccessibleObject parent)
Parameters:itemRadListDataItem

The data item represented by this object.

parentAccessibleObject

The list, drop-down list, or popup accessibility object that contains the item.

Properties

Gets the item's screen-space bounds, or Empty when it has no visual item.

C#
public override Rectangle Bounds { get; }

Overrides: AccessibleObject.Bounds

Gets a description string containing the item's accessible name and child count.

C#
public override string Description { get; }

Overrides: AccessibleObject.Description

Gets the help text reported for the item.

C#
public override string Help { get; }

Overrides: AccessibleObject.Help

The current implementation returns the fixed message that no help is available.

Gets or sets the data item's text as its accessible name.

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

Overrides: AccessibleObject.Name

Gets the data item represented by this object.

C#
public override object Owner { get; }

Overrides: RadItemAccessibleObject.Owner

Gets the list or popup accessibility object that contains this item.

C#
public override AccessibleObject Parent { get; }

Overrides: AccessibleObject.Parent

Reports the data item as a list item.

C#
public override AccessibleRole Role { get; }

Overrides: AccessibleObject.Role

Gets or sets the selected data item in the host list control, drop-down list, or owning item collection.

C#
protected RadListDataItem SelectedDataItem { get; set; }

The getter returns null when the owner control is disposed and otherwise reads selection from a supported list or item collection. The item must be attached to an owner element because resolving its host control dereferences that ownership chain.

Gets the item's selection, focus, hover, and on-screen state.

C#
public override AccessibleStates State { get; }

Overrides: AccessibleObject.State

The selected item is marked focused and selected; a visual item under the pointer is hot-tracked, and an empty bounds rectangle is reported as offscreen.

Methods

Selects this data item in its host list.

C#
public override void DoDefaultAction()

Overrides: AccessibleObject.DoDefaultAction()

Gets the adjacent item for vertical or previous/next navigation within the owner's item collection.

C#
public override AccessibleObject Navigate(AccessibleNavigation navdir)
Parameters:navdirAccessibleNavigation

The requested navigation direction.

Returns:

AccessibleObject

The adjacent item's accessible object, or null for unsupported directions or at the collection boundary.

Overrides: AccessibleObject.Navigate(AccessibleNavigation)

Applies supported selection actions to the item and then forwards the request to the base implementation.

C#
public override void Select(AccessibleSelection flags)
Parameters:flagsAccessibleSelection

The requested selection action; add, extend, take-selection, and take-focus select this item, while remove-selection does not change the data selection.

Overrides: AccessibleObject.Select(AccessibleSelection)