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

Exposes a command bar item as an accessible child and reports mouse-down to the parent as a focus notification.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
[ComVisible(true)]
public class RadCommandBarItemAccessibleObject : RadControlAccessibleObject, IReflect, IAccessible

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadControlAccessibleObjectRadCommandBarItemAccessibleObject...

Implements: IAccessibleIReflect

Constructors

Creates an accessible child for a command bar item and subscribes to its mouse-down event.

C#
public RadCommandBarItemAccessibleObject(RadCommandBarBaseItem owner, RadCommandBarAccessibleObject parent, string name)
Parameters:ownerRadCommandBarBaseItem

The command bar item represented by this object.

parentRadCommandBarAccessibleObject

The command bar accessibility object notified when the item receives a mouse-down event.

namestring

The initial name passed to the base accessibility object; the exposed name is read from owner.

Properties

Gets the item's screen-space bounds using its control-bounds location and item size.

C#
public override Rectangle Bounds { get; }

Overrides: AccessibleObject.Bounds

Gets or sets the accessible name using the represented item's Name.

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

Overrides: RadControlAccessibleObject.Name

Gets the command bar item represented by this accessible object.

C#
public override object OwnerElement { get; }

Overrides: RadControlAccessibleObject.OwnerElement

Gets the command bar accessibility object that contains this item.

C#
public override AccessibleObject Parent { get; }

Overrides: Control.ControlAccessibleObject.Parent

Gets the role reported for this command bar item.

C#
public override AccessibleRole Role { get; }

Overrides: Control.ControlAccessibleObject.Role

The implementation reports Diagram for each item.

Gets a state that always includes Focusable and includes Focused while the pointer is over the item.

C#
public override AccessibleStates State { get; }

Overrides: AccessibleObject.State