Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum System.​ComponentModel.​Design.​SelectionTypes

Assembly: System.ComponentModel.TypeConverter

Defines identifiers that indicate the type of a selection.

Values

Auto
Represents a regular selection. The selection service responds to the CTRL and SHIFT keys to support adding or removing components to or from the selection.
Normal
Represents a regular selection. The selection service responds to the CTRL and SHIFT keys to support adding or removing components to or from the selection.
Replace
Represents a selection that occurs when the content of a selection is replaced. The selection service replaces the current selection with the replacement.
MouseDown
Represents a selection that occurs when the user presses on the mouse button while the mouse pointer is over a component. If the component under the pointer is already selected, it is promoted to become the primary selected component rather than being canceled.
MouseUp
Represents a selection that occurs when the user releases the mouse button immediately after a component has been selected. If the newly selected component is already selected, it is promoted to be the primary selected component rather than being canceled.
Click
Represents a selection that occurs when a user clicks a component. If the newly selected component is already selected, it is promoted to be the primary selected component rather than being canceled.
Primary
Represents a primary selection that occurs when a user clicks on a component. If a component in the selection list is already selected, the component is promoted to be the primary selection.
Valid
Identifies the valid selection types as <see cref="F:System.ComponentModel.Design.SelectionTypes.Normal" /> , <see cref="F:System.ComponentModel.Design.SelectionTypes.Replace" /> , <see cref="F:System.ComponentModel.Design.SelectionTypes.MouseDown" /> , <see cref="F:System.ComponentModel.Design.SelectionTypes.MouseUp" /> , or <see cref="F:System.ComponentModel.Design.SelectionTypes.Click" /> .
Toggle
Represents a toggle selection that switches between the current selection and the provided selection. If a component is already selected and is passed into <see cref="Overload:System.ComponentModel.Design.ISelectionService.SetSelectedComponents" /> with a selection type of <see cref="F:System.ComponentModel.Design.SelectionTypes.Toggle" /> , the component selection will be canceled.
Add
Represents an add selection that adds the selected components to the current selection, maintaining the current set of selected components.
Remove
Represents a remove selection that removes the selected components from the current selection, maintaining the current set of selected components.