Specifies identifiers that indicate the type of selection for a component or group of components that are selected.
[Visual Basic] Public Enum SelectionTypes [C#] public enum SelectionTypes [C++] public enum SelectionTypes
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
Selection of components involves an action a user or interface takes to select an object. Once the object is selected, the user can specify an action for the object. Use the members of this enumeration to determine how a user can select controls.
Member Name | Description |
---|---|
Click | A Click selection. Happens when a user clicks on a component. If a component in the selection list is already selected, it does not remove the existing selection, but promotes that component to be the primary selection. |
MouseDown | A MouseDown selection. Happens when the user presses down on the mouse button when the pointer is over a control (or component). If a component in the selection list is already selected, it does not remove the existing selection, but promotes that component to be the primary selection. |
MouseUp | A MouseUp selection. Happens when the user releases the mouse button when a control (or component) has been selected. If a component in the selection list is already selected, it does not remove the existing selection, but promotes that component to be the primary selection. |
Normal | A normal selection. With this type of selection, the selection service responds to the control and shift keys to support appending or toggling components into the selection as needed. |
Replace | A replace selection. This causes the selection service to always replace the current selection with the replacement. |
Valid | Limits valid selection types to Normal, Replace, MouseDown, MouseUp or Click. |
Namespace: System.ComponentModel.Design
Assembly: System.dll