XamlSourceFocusNavigationRequest.Reason 属性

定义

获取 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

属性值

UIElement 如何使用 DesktopWindowXamlSource 对象托管基于 XAML 的 UI 的桌面应用程序中获得焦点。

适用于