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 that you can programmatically move focus from one element to another element within the app UI.
public enum class FocusNavigationDirection
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class FocusNavigationDirection
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum FocusNavigationDirection
Public Enum FocusNavigationDirection
- Inheritance
-
FocusNavigationDirection
- Attributes
Fields
Down | 3 | An element below the element with focus. |
Left | 4 | An element to the left of the element with focus. |
Next | 0 | The next element in the tab order. |
None | 6 | No change in focus. |
Previous | 1 | The previous element in the tab order. |
Right | 5 | An element to the right of the element with focus. |
Up | 2 | An element above the element with focus. |
Remarks
FocusNavigationDirection.Previous
and FocusNavigationDirection.Next
cannot be used with FindNextElementOptions. Only FocusNavigationDirection.Up
, FocusNavigationDirection.Down
, FocusNavigationDirection.Left
, or FocusNavigationDirection.Right
are valid.
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin