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

Exposes an in-cell drop-down editor and its popup as an accessible combo box.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridDropDownAccessibilityObject : AccessibleObject, IReflect, IAccessible

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectGridDropDownAccessibilityObject

Implements: IAccessibleIReflect

Constructors

Initializes a new instance of the GridDropDownAccessibilityObject class.

C#
public GridDropDownAccessibilityObject(RadDropDownListElement owner, CellAccessibleObject cellAccessibleObject, string name)
Parameters:ownerRadDropDownListElement

The owner.

cellAccessibleObjectCellAccessibleObject

The cell accessible object.

namestring

The name.

Properties

Gets the location and size of the accessible object.

C#
public override Rectangle Bounds { get; }
Property Value:

A Rectangle that represents the bounds of the accessible object.

Exceptions: COMException

The bounds of control cannot be retrieved.

Overrides: AccessibleObject.Bounds

Gets the drop down list element.

C#
public RadDropDownListElement DropDownListElement { get; }
Property Value:

The drop down list element.

Gets or sets the object name.

C#
public override string Name { get; set; }
Property Value:

The object name, or null if the property has not been set.

Exceptions: COMException

The name of the control cannot be retrieved or set.

Overrides: AccessibleObject.Name

Gets the parent of an accessible object.

C#
public override AccessibleObject Parent { get; }
Property Value:

An AccessibleObject that represents the parent of an accessible object, or null if there is no parent object.

Overrides: AccessibleObject.Parent

Gets the role of this accessible object.

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

One of the AccessibleRole values, or None if no role has been specified.

Overrides: AccessibleObject.Role

Gets the state of this accessible object.

C#
public override AccessibleStates State { get; }
Property Value:

One of the AccessibleStates values, or None, if no state has been set.

Overrides: AccessibleObject.State

Gets or sets the value of an accessible object.

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

The value of an accessible object, or null if the object has no value set.

Exceptions: COMException

The value cannot be set or retrieved.

Overrides: AccessibleObject.Value

Methods

Retrieves the accessible child corresponding to the specified index.

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

The zero-based index of the accessible child.

Returns:

AccessibleObject

An AccessibleObject that represents the accessible child corresponding to the specified index.

Overrides: AccessibleObject.GetChild(int)

Retrieves the number of children belonging to an accessible object.

C#
public override int GetChildCount()
Returns:

int

The number of children belonging to an accessible object.

Overrides: AccessibleObject.GetChildCount()

Sends an accessibility notification for a child of the drop-down popup.

C#
public void NotifyClients(AccessibleEvents accEvent, int childID)
Parameters:accEventAccessibleEvents

The accessibility event to report.

childIDint

The zero-based child index; it is converted to the one-based child identifier used by the Win32 notification.

Sends an accessibility notification for the drop-down popup itself.

C#
public void NotifyClients(AccessibleEvents accEvent)
Parameters:accEventAccessibleEvents

The accessibility event to report.

Sends a Win32 accessibility notification for the specified window object or child.

C#
public static extern void NotifyWinEvent(int winEvent, HandleRef hwnd, int objType, int objID)
Parameters:winEventint

The WinEvent identifier to send.

hwndHandleRef

A reference to the window handle receiving the notification.

objTypeint

The identifier of the accessible object within the window.

objIDint

The child identifier, or zero for the object itself.

Detaches from the drop-down's selection-change event.

C#
public void UnwireEvents()

Attaches to the drop-down's selection-change event, removing any existing subscription first.

C#
public void WireEvents()