XamlSourceFocusNavigationRequest.Reason 属性

定义

获取 Windows.UI.Xaml.UIElement 如何在桌面应用程序中获得焦点,该应用程序使用 DesktopWindowXamlSource 对象托管基于 XAML 的 UI。

public:
 property XamlSourceFocusNavigationReason Reason { XamlSourceFocusNavigationReason get(); };
XamlSourceFocusNavigationReason Reason();
public XamlSourceFocusNavigationReason Reason { get; }
var xamlSourceFocusNavigationReason = xamlSourceFocusNavigationRequest.reason;
Public ReadOnly Property Reason As XamlSourceFocusNavigationReason

属性值

Windows.UI.Xaml.UIElement 如何在使用 DesktopWindowXamlSource 对象承载基于 XAML 的 UI 的桌面应用程序中获得焦点。

适用于