20 references to TakeSelection
System.Windows.Forms (14)
System\Windows\Forms\Accessibility\AccessibleSelection.cs (1)
20
/// <see cref="
TakeSelection
"/>, <see cref="ExtendSelection"/>,
System\Windows\Forms\Accessibility\AccessibleStates.cs (1)
177
/// This flag may not be combined with <see cref="AccessibleSelection.
TakeSelection
"/>.
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (4)
280
Select(AccessibleSelection.TakeFocus | AccessibleSelection.
TakeSelection
);
582
if ((flags & AccessibleSelection.
TakeSelection
) == AccessibleSelection.
TakeSelection
)
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 (4)
416
if ((flags & AccessibleSelection.
TakeSelection
) == AccessibleSelection.
TakeSelection
)
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\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (2)
302
if ((flags & AccessibleSelection.
TakeSelection
) == AccessibleSelection.
TakeSelection
)
System.Windows.Forms.Tests (6)
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (2)
555
accessibleObject.Select((AccessibleSelection)128 | AccessibleSelection.
TakeSelection
);
630
accessibleObject.Select(AccessibleSelection.
TakeSelection
| AccessibleSelection.RemoveSelection);
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (2)
367
[InlineData(AccessibleSelection.
TakeSelection
)]
370
[InlineData(AccessibleSelection.
TakeSelection
| AccessibleSelection.RemoveSelection)]
System\Windows\Forms\MonthCalendarTests.cs (2)
4388
cellAccessibleObject.Select(AccessibleSelection.
TakeSelection
);
4427
[InlineData(AccessibleSelection.
TakeSelection
)]