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)
280Select(AccessibleSelection.TakeFocus | AccessibleSelection.TakeSelection); 582if ((flags & AccessibleSelection.TakeSelection) == AccessibleSelection.TakeSelection) 595(flags & (AccessibleSelection.AddSelection | AccessibleSelection.TakeSelection)) == 0)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.cs (1)
227if ((flags & (AccessibleSelection.TakeSelection | AccessibleSelection.AddSelection)) != 0)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (4)
416if ((flags & AccessibleSelection.TakeSelection) == AccessibleSelection.TakeSelection) 435if ((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)
232if ((flags & (AccessibleSelection.TakeSelection | AccessibleSelection.AddSelection)) != 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (2)
302if ((flags & AccessibleSelection.TakeSelection) == AccessibleSelection.TakeSelection)
System.Windows.Forms.Tests (6)
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (2)
555accessibleObject.Select((AccessibleSelection)128 | AccessibleSelection.TakeSelection); 630accessibleObject.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)
4388cellAccessibleObject.Select(AccessibleSelection.TakeSelection); 4427[InlineData(AccessibleSelection.TakeSelection)]