TrySetFocusAction
¶
Use the TrySetFocusAction action to transfer focus to any focusable item in a node tree.
This action invokes the FocusManager::trySetFocus() method.
SetFocusTargetItemProperty holds the information of the node to which the focus moves.
If SetFocusTargetItemProperty does not point to a valid node or the node is not focusable, the action fails silently.
Tries to set focus to the node that you set in the Target Item property.
Inherits properties and message types from TrySetFocusActionMetadata.
Creates a TrySetFocusAction.
| name | (string) |
| (TrySetFocusAction) | A shared pointer to the created action. |