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

Exposes a RadButton's accessible properties and click action to WinForms accessibility clients.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

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

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadButtonAccessibleObject...

Implements: IAccessibleIReflect

Constructors

Creates an accessibility object for a button control.

C#
public RadButtonAccessibleObject(Control owner)
Parameters:ownerControl

The RadButton whose accessible properties and actions are exposed.

Properties

Returns a semicolon-delimited string containing the button text, alpha/blue/green components of its background, foreground, and border colors, and its pressed state.

C#
public override string Description { get; }

Overrides: Control.ControlAccessibleObject.Description

Gets the button text with HTML-like formatting removed; setting the name updates the control's Name.

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

Overrides: Control.ControlAccessibleObject.Name

Reports the control to accessibility clients as a push button.

C#
public override AccessibleRole Role { get; }

Overrides: Control.ControlAccessibleObject.Role

Combines the base control state with Pressed while the button element is pressed.

C#
public override AccessibleStates State { get; }

Overrides: AccessibleObject.State

Methods

Activates the button by calling PerformClick().

C#
public override void DoDefaultAction()

Overrides: AccessibleObject.DoDefaultAction()