FocusNavigationReason 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.
Specifies the possible reasons for a focus navigation event.
public enum class FocusNavigationReason
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65541)]
enum class FocusNavigationReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65541)]
public enum FocusNavigationReason
var value = Microsoft.UI.Input.FocusNavigationReason.programmatic
Public Enum FocusNavigationReason
- Inheritance
-
FocusNavigationReason
- Attributes
Fields
Name | Value | Description |
---|---|---|
Programmatic | 0 | Programmatically perform focus navigation. |
Restore | 1 | Restore focus to a previous state. |
First | 2 | Navigate to the first element in the focus recipient. |
Last | 3 | Navigate to the last element in the focus recipient. |
Left | 4 | Navigate focus to the left. |
Up | 5 | Navigate focus up. |
Right | 6 | Navigate focus to the right. |
Down | 7 | Navigate focus down. |