-
Notifications
You must be signed in to change notification settings - Fork 939
/
AccessibleSelection.cs
48 lines (41 loc) · 1.44 KB
/
AccessibleSelection.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
namespace System.Windows.Forms
{
/// <summary>
/// Specifies how an accessible object will be selected or receive focus.
/// </summary>
[Flags]
public enum AccessibleSelection
{
/// <summary>
/// The selection or focus of an object is unchanged.
/// </summary>
None = 0,
/// <summary>
/// Assigns focus to an object and makes it the anchor, which is the
/// starting point for the selection. Can be combined with
/// <see cref='TakeSelection'/>, <see cref='ExtendSelection'/>,
/// <see cref='AddSelection'/>, or <see cref='RemoveSelection'/>.
/// </summary>
TakeFocus = 1,
/// <summary>
/// Selects the object and deselects all other objects in the container.
/// </summary>
TakeSelection = 2,
/// <summary>
/// Selects all objects between the anchor and the selected object.
/// </summary>
ExtendSelection = 4,
/// <summary>
/// Adds the object to the selection.
/// </summary>
AddSelection = 8,
/// <summary>
/// Removes the object from the selection.
/// </summary>
RemoveSelection = 16,
}
}