27 references to AddSelection
System.Windows.Forms (13)
System\Windows\Forms\Accessibility\AccessibleSelection.cs (1)
21
/// <see cref="
AddSelection
"/>, or <see cref="RemoveSelection"/>.
System\Windows\Forms\Accessibility\AccessibleStates.cs (1)
170
/// combining this flag with <see cref="AccessibleSelection.
AddSelection
"/>
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (3)
588
if ((flags & AccessibleSelection.
AddSelection
) == AccessibleSelection.
AddSelection
)
595
(flags & (AccessibleSelection.
AddSelection
| AccessibleSelection.TakeSelection)) == 0)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.cs (1)
227
if ((flags & (AccessibleSelection.TakeSelection | AccessibleSelection.
AddSelection
)) != 0)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (3)
435
if ((flags & AccessibleSelection.
AddSelection
) == AccessibleSelection.
AddSelection
&& (flags & AccessibleSelection.TakeSelection) == 0)
444
(flags & (AccessibleSelection.
AddSelection
| AccessibleSelection.TakeSelection)) == 0)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.cs (1)
232
if ((flags & (AccessibleSelection.TakeSelection | AccessibleSelection.
AddSelection
)) != 0)
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.cs (3)
228
if ((flags & AccessibleSelection.
AddSelection
) == AccessibleSelection.
AddSelection
)
239
(flags & AccessibleSelection.
AddSelection
) == 0)
System.Windows.Forms.Tests (14)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (8)
1302
[InlineData((int)AccessibleSelection.
AddSelection
, 0)]
1303
[InlineData((int)AccessibleSelection.
AddSelection
, unchecked((int)0x80020004))]
1304
[InlineData((int)AccessibleSelection.
AddSelection
, "abc")]
1305
[InlineData((int)AccessibleSelection.
AddSelection
, null)]
1318
[InlineData((int)AccessibleSelection.
AddSelection
, 2, 1, 0)]
1319
[InlineData((int)AccessibleSelection.
AddSelection
, 3, 0, 1)]
1352
[InlineData((int)AccessibleSelection.
AddSelection
, -1)]
1353
[InlineData((int)AccessibleSelection.
AddSelection
, 4)]
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (2)
593
accessibleObject.Select((AccessibleSelection)128 | AccessibleSelection.
AddSelection
);
628
accessibleObject.Select(AccessibleSelection.
AddSelection
| AccessibleSelection.RemoveSelection);
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (2)
368
[InlineData(AccessibleSelection.
AddSelection
)]
369
[InlineData(AccessibleSelection.
AddSelection
| AccessibleSelection.RemoveSelection)]
System\Windows\Forms\AccessibleObjects\ListBox.ListBoxItemAccessibleObjectTests.cs (1)
185
[InlineData(AccessibleSelection.
AddSelection
)]
System\Windows\Forms\MonthCalendarTests.cs (1)
4425
[InlineData(AccessibleSelection.
AddSelection
)]