FocusNavigationDirection 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 direction within a user interface (UI) in which a desired focus change request is attempted. The direction is either based on tab order or by relative direction in layout.
public enum class FocusNavigationDirection
public enum FocusNavigationDirection
type FocusNavigationDirection =
Public Enum FocusNavigationDirection
- Inheritance
Fields
Down | 7 | Move focus to another focusable element downwards from the currently focused element. |
First | 2 | Move focus to the first focusable element in tab order. Not supported for PredictFocus(FocusNavigationDirection). |
Last | 3 | Move focus to the last focusable element in tab order. Not supported for PredictFocus(FocusNavigationDirection). |
Left | 4 | Move focus to another focusable element to the left of the currently focused element. |
Next | 0 | Move focus to the next focusable element in tab order. Not supported for PredictFocus(FocusNavigationDirection). |
Previous | 1 | Move focus to the previous focusable element in tab order. Not supported for PredictFocus(FocusNavigationDirection). |
Right | 5 | Move focus to another focusable element to the right of the currently focused element. |
Up | 6 | Move focus to another focusable element upwards from the currently focused element. |
Remarks
Left, Right, Down, and Up each move focus in that direction based on an approximate representation of the relative item positions in the rendered window. Not all such directional movements are possible, depending on the relative layout of your UI.
Applies to
See also
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk