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

Exposes a RadButtonItem as an accessible push-button element within its owning control.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

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

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadControlAccessibleObjectRadButtonElementAccessibleObject...

Implements: IAccessibleIReflect

Constructors

Creates an accessibility object for a button item and assigns its accessible name.

C#
public RadButtonElementAccessibleObject(RadButtonItem owner, string name)
Parameters:ownerRadButtonItem

The button item whose action, state, description, and bounds are exposed.

namestring

The accessible name passed to the base accessible object.

Properties

Returns the item's location in screen coordinates and uses the item size for the bounds dimensions.

C#
public override Rectangle Bounds { get; }

Overrides: AccessibleObject.Bounds

Returns the button item's text as its accessible description.

C#
public override string Description { get; }

Overrides: Control.ControlAccessibleObject.Description

Gets the button item represented by this accessibility object.

C#
public override object OwnerElement { get; }

Overrides: RadControlAccessibleObject.OwnerElement

Reports the item to accessibility clients as a push button.

C#
public override AccessibleRole Role { get; }

Overrides: Control.ControlAccessibleObject.Role

Combines the base state with Pressed while the item is pressed.

C#
public override AccessibleStates State { get; }

Overrides: AccessibleObject.State

Methods

Invokes the button item's click action.

C#
public override void DoDefaultAction()

Overrides: AccessibleObject.DoDefaultAction()