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

Exposes a RadCheckBox's role, toggle state, text, and default action to WinForms accessibility clients.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

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

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadControlAccessibleObjectRadCheckBoxAccessibleObject...

Implements: IAccessibleIReflect

Constructors

Creates an accessibility object for a check box and subscribes to its toggle-state changes.

C#
public RadCheckBoxAccessibleObject(RadCheckBox owner, string name)
Parameters:ownerRadCheckBox

The check box whose accessible state and action are exposed.

namestring

The name passed to the base accessible object.

Properties

Uses the accessible name as the control's description.

C#
public override string Description { get; }

Overrides: Control.ControlAccessibleObject.Description

Gets the base accessible description followed by the check box text; setting it updates Name.

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

Overrides: RadControlAccessibleObject.Name

Gets the RadCheckBox represented by this accessibility object.

C#
public override object OwnerElement { get; }

Overrides: RadControlAccessibleObject.OwnerElement

Reports the control to accessibility clients as a check button.

C#
public override AccessibleRole Role { get; }

Overrides: Control.ControlAccessibleObject.Role

Adds Checked for On, Mixed for Indeterminate, and Pressed while the check box element is pressed.

C#
public override AccessibleStates State { get; }

Overrides: AccessibleObject.State

Methods

Cycles Off to On and back to Off; when IsThreeState is true, On advances through Indeterminate first.

C#
public override void DoDefaultAction()

Overrides: AccessibleObject.DoDefaultAction()