FocusHelper.GetAllowModalMoveFocus(UIElement) 方法

定义

获取一个值,该值指示指定的控件是否想要在 MoveFocusInto 调用过程中跳过模式检查。

public:
 static bool GetAllowModalMoveFocus(System::Windows::UIElement ^ element);
public static bool GetAllowModalMoveFocus (System.Windows.UIElement element);
static member GetAllowModalMoveFocus : System.Windows.UIElement -> bool
Public Shared Function GetAllowModalMoveFocus (element As UIElement) As Boolean

参数

element
UIElement

要检查的控件。

返回

Boolean

如果控件想跳过模式检查,则为 True。

适用于