SelectionAction Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies an action taken on a text selection.
public enum SelectionAction
type SelectionAction =
- Inheritance
-
SelectionAction
Fields
| Name | Value | Description |
|---|---|---|
| Overtype | 100 | User typed over the selection. |
| Copy | 101 | User copied the selection. |
| Paste | 102 | User pasted over the selection. |
| Cut | 103 | User cut the selection. |
| Share | 104 | User shared the selection. |
| SmartShare | 105 | User clicked the textAssist menu item. |
| Drag | 106 | User dragged+dropped the selection. |
| Abandon | 107 | User abandoned the selection. |
| Other | 108 | User performed an action on the selection. |
| SelectAll | 200 | User activated Select All |
| Reset | 201 | User reset the smart selection. |
Remarks
Use these values with the SelectionEvent.CreateSelectionActionEvent overloads to report actions such as copying, sharing, or changing the selected text. Some actions end the selection interaction; selecting all text or resetting the selection does not.