Exposes a drop-down button element and its menu items as a WinForms accessibility tree.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadDropDownButtonElementAccessibleObject : RadControlAccessibleObject, IReflect, IAccessible
Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadControlAccessibleObjectRadDropDownButtonElementAccessibleObject...
Derived Classes:
Implements:
Constructors
Creates an accessibility object for the element and subscribes to its menu events to forward popup and selection notifications.
public RadDropDownButtonElementAccessibleObject(RadDropDownButtonElement buttonElement, string name)
The drop-down button element whose menu and bounds are exposed.
namestringThe accessible name passed to the base object for the host control.
Properties
Gets the element's control bounding rectangle converted to screen coordinates.
public override Rectangle Bounds { get; }
Overrides:
Gets the drop-down button element represented by this accessibility object.
public override object OwnerElement { get; }
Overrides:
Gets the accessibility object of the control that hosts the drop-down button element.
public override AccessibleObject Parent { get; }
Overrides:
Reports the element to accessibility clients as a drop-down button.
public override AccessibleRole Role { get; }
Overrides:
Methods
Gets the accessible object for the menu item at the specified index, loading and laying out the menu first when needed.
public override AccessibleObject GetChild(int index)
The zero-based index of the menu item.
Returns:The menu item's accessibility object.
Overrides:
Returns the number of menu items exposed as accessible children.
public override int GetChildCount()
The number of items in the button's menu.
Overrides: