Action 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.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum Action
[<System.Flags>]
type Action =
- Inheritance
-
Action
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| Focus | 1 | Action that gives input focus to the node. |
| ClearFocus | 2 | Action that clears input focus of the node. |
| Select | 4 | Action that selects the node. |
| ClearSelection | 8 | Action that unselects the node. |
| Click | 16 | Action that clicks on the node info. |
| LongClick | 32 | Action that long clicks on the node. |
| AccessibilityFocus | 64 | Action that gives accessibility focus to the node. |
| ClearAccessibilityFocus | 128 | Action that clears accessibility focus of the node. |
| NextAtMovementGranularity | 256 | Action that requests to go to the next entity in this node's text at a given movement granularity. For example, move to the next character, word, etc. Arguments: ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT, ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN Example: Move to the next character and do not extend selection. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| PreviousAtMovementGranularity | 512 | Action that requests to go to the previous entity in this node's text at a given movement granularity. For example, move to the previous character, word, etc. Arguments: ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT, ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN Example: Move to the previous character and do not extend selection. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| NextHtmlElement | 1024 | Action to move to the next HTML element of a given type. For example, move to the BUTTON, INPUT, TABLE, etc. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| PreviousHtmlElement | 2048 | Action to move to the previous HTML element of a given type. For example, move to the BUTTON, INPUT, TABLE, etc. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ScrollForward | 4096 | Action to scroll the node content forward. |
| ScrollBackward | 8192 | Action to scroll the node content backward. |
| Copy | 16384 | Action to copy the current selection to the clipboard. |
| Paste | 32768 | Action to paste the current clipboard content. |
| Cut | 65536 | Action to cut the current selection and place it to the clipboard. |
| SetSelection | 131072 | Action to set the selection. Performing this action with no arguments clears the selection. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Expand | 262144 | Action to expand an expandable node. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Collapse | 524288 | Action to collapse an expandable node. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Dismiss | 1048576 | Action to dismiss a dismissable node. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| SetText | 2097152 | Action that sets the text of the node. Performing the action without argument, using null or empty CharSequence will clear the text. This action will also put the cursor at the end of text. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.