System.Windows.Forms.AccessibleSelection Enumeration

Specifies how an accessible object is selected or receives focus.

Syntax

[System.Flags]
public enum AccessibleSelection

Remarks

A focused object is the one object that receives keyboard input. The object with the keyboard focus is either the active window or a child object of the active window. A selected object is marked to participate in some type of group operation.

This enumeration is used by AccessibleObject.Select(AccessibleSelection).

For additional information on the accessibility application, search for "Microsoft Active Accessibility" in the Microsoft Developer Network (MSDN) library.

Members

Member NameDescription
AddSelection

Adds the object to the selection.

ExtendSelection

Selects all objects between the anchor and the selected object.

None

The selection or focus of an object is unchanged.

RemoveSelection

Removes the object from the selection.

TakeFocus

Assigns focus to an object and makes it the anchor, which is the starting point for the selection. Can be combined with TakeSelection, ExtendSelection, AddSelection, or RemoveSelection.

TakeSelection

Selects the object and deselects all other objects in the container.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0