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

Exposes a text box item embedded in a Telerik control through the accessibility API.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

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

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadTextBoxElementAccessibleObject...

Implements: IAccessibleIReflect

Constructors

Creates the accessibility object for a text box item attached to a control's element tree.

C#
public RadTextBoxElementAccessibleObject(RadTextBoxItem owner)
Parameters:ownerRadTextBoxItem

The attached text box item represented by this object.

Properties

Gets the text box item's bounds in screen coordinates.

C#
public override Rectangle Bounds { get; }

Overrides: AccessibleObject.Bounds

Gets the accessible name as the description.

C#
public override string Description { get; }

Overrides: Control.ControlAccessibleObject.Description

Gets or sets the accessible name stored on the underlying text box item.

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

Overrides: Control.ControlAccessibleObject.Name

Gets the Text role for the text box item.

C#
public override AccessibleRole Role { get; }

Overrides: Control.ControlAccessibleObject.Role

Gets or sets the underlying text box item'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()