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

Exposes the text editor and navigation buttons of a RadDomainUpDown to accessibility clients.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadDomainUpDownAccessibleObject : RadDropDownListAccessibleObject, IReflect, IAccessible

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRadDropDownListAccessibleObjectRadDomainUpDownAccessibleObject...

Implements: IAccessibleIReflect

Inherited Members RadDropDownListAccessibleObject.GetItemAccessibleObject(RadListDataItem)RadDropDownListAccessibleObject.ListRadDropDownListAccessibleObject.NameRadDropDownListAccessibleObject.Value

Constructors

Initializes the accessibility object for a domain up-down control.

C#
public RadDomainUpDownAccessibleObject(RadDropDownList owner)
Parameters:ownerRadDropDownList

The RadDomainUpDown represented by this object. The value must be an instance of that type.

Properties

Gets the owner's configured role, or Text when no role is specified.

C#
public override AccessibleRole Role { get; }
Property Value:

The accessible role assigned to the owner or the text role by default.

Overrides: RadDropDownListAccessibleObject.Role

Methods

Gets the accessible child at the specified index: the text editor at index 0, the up button at index 1, and the down button at index 2.

C#
public override AccessibleObject GetChild(int index)
Parameters:indexint

The zero-based child index.

Returns:

AccessibleObject

The requested accessible child, or null when index is outside the child range.

Overrides: RadDropDownListAccessibleObject.GetChild(int)

Gets the number of accessible children exposed by the control.

C#
public override int GetChildCount()
Returns:

int

Three: the text editor and the two navigation buttons.

Overrides: RadDropDownListAccessibleObject.GetChildCount()