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

Exposes a text box's text value and text-control role to accessibility clients.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

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

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadTextBoxAccessibleObject...

Implements: IAccessibleIReflect

Constructors

Creates the accessibility object for the specified text box.

C#
public RadTextBoxAccessibleObject(RadTextBox owner)
Parameters:ownerRadTextBox

The text box represented by this object.

Properties

Gets the accessible description followed by the current text; setting the name updates the control's Name.

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

Overrides: Control.ControlAccessibleObject.Name

Gets the Text role for the text box.

C#
public override AccessibleRole Role { get; }

Overrides: Control.ControlAccessibleObject.Role

Gets or sets the text box's text.

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

Overrides: AccessibleObject.Value

Methods

Gets the number of accessible children, which is always zero.

C#
public override int GetChildCount()
Returns:

int

Overrides: AccessibleObject.GetChildCount()