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

Exposes command bar items as toolbar children in row, strip, and item collection order.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

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

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadCommandBarAccessibleObject...

Implements: IAccessibleIReflect

Constructors

Creates the accessibility object that represents the command bar control.

C#
public RadCommandBarAccessibleObject(RadCommandBar owner)
Parameters:ownerRadCommandBar

The command bar whose rows, strips, and items are exposed.

Properties

Reports the command bar as a toolbar.

C#
public override AccessibleRole Role { get; }

Overrides: Control.ControlAccessibleObject.Role

Methods

Gets the cached accessibility object for an item, creating it on the first request.

C#
public AccessibleObject GetAccessibleObject(RadCommandBarBaseItem item, string name)
Parameters:itemRadCommandBarBaseItem

The command bar item represented by the child object.

namestring

The initial name passed to the child accessibility object's base class.

Returns:

AccessibleObject

The existing or newly created accessibility object for item.

Gets the accessible object for the item at the specified position in row, strip, and item order.

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

The zero-based position among all items exposed by this toolbar.

Returns:

AccessibleObject

The item's accessible object, or null when the index is outside the current item range.

Overrides: AccessibleObject.GetChild(int)

Gets the total number of items across all command bar rows and strips.

C#
public override int GetChildCount()
Returns:

int

The number of accessible item children.

Overrides: AccessibleObject.GetChildCount()