XamlSourceFocusNavigationReason 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 values that represent reasons that a Windows.UI.Xaml.UIElement got focus in a desktop application that uses a DesktopWindowXamlSource object to host XAML-based UI.
public enum class XamlSourceFocusNavigationReason
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 327680)]
enum class XamlSourceFocusNavigationReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 327680)]
public enum XamlSourceFocusNavigationReason
Public Enum XamlSourceFocusNavigationReason
- Inheritance
-
XamlSourceFocusNavigationReason
- Attributes
Fields
Down | 10 | The focus was set in response to the user navigating down by using 4-direction navigation, such as pressing keyboard arrow keys. |
First | 3 | The focus was set in response to the user navigating to the next element by using bidirectional navigation, such as pressing Tab. |
Last | 4 | The focus was set in response to the user navigating to the previous element by using bidirectional navigation, such as pressing Shift-Tab. |
Left | 7 | The focus was set in response to the user navigating left by using 4-direction navigation, such as pressing keyboard arrow keys. |
Programmatic | 0 | The focus was set programmatically. |
Restore | 1 | The focus was restored after a task switch, such as pressing Alt + Tab. |
Right | 9 | The focus was set in response to the user navigating right by using 4-direction navigation, such as pressing keyboard arrow keys. |
Up | 8 | The focus was set in response to the user navigating up by using 4-direction navigation, such as pressing keyboard arrow keys. |
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