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

Exposes the application-menu button and its menu columns as an accessibility tree.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadApplicationMenuButtonElementAccessibleObject : RadDropDownButtonElementAccessibleObject, IReflect, IAccessible

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadControlAccessibleObjectRadDropDownButtonElementAccessibleObjectRadApplicationMenuButtonElementAccessibleObject...

Implements: IAccessibleIReflect

Inherited Members RadDropDownButtonElementAccessibleObject.OwnerElementRadDropDownButtonElementAccessibleObject.BoundsRadDropDownButtonElementAccessibleObject.Parent

Constructors

Initializes the accessibility object for an application-menu button.

C#
public RadApplicationMenuButtonElementAccessibleObject(RadApplicationMenuButtonElement owner, string name)
Parameters:ownerRadApplicationMenuButtonElement

The application-menu button element whose menu contents are exposed.

namestring

The name passed to the base accessibility object; this class reports its fixed application-menu description as its accessible name.

Properties

Gets the fixed description Application Menu.

C#
public override string Description { get; }

Overrides: Control.ControlAccessibleObject.Description

Gets the fixed application-menu description as the accessible name.

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

Overrides: RadControlAccessibleObject.Name

Setting this property delegates to the base object, but the getter continues to return the fixed description.

Reports the application-menu element as a button that opens a menu.

C#
public override AccessibleRole Role { get; }

Overrides: RadDropDownButtonElementAccessibleObject.Role

Methods

Gets a menu child in base drop-down, right-column, then button-item order.

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

The zero-based index in the combined child order reported by GetChildCount().

Returns:

AccessibleObject

The accessible object for the child at index.

Overrides: RadDropDownButtonElementAccessibleObject.GetChild(int)

Gets the total number of base drop-down children, right-column items, and application-menu buttons.

C#
public override int GetChildCount()
Returns:

int

The combined child count.

Overrides: RadDropDownButtonElementAccessibleObject.GetChildCount()