Udostępnij za pośrednictwem


FocusHelper.SetAllowModalMoveFocus(UIElement, Boolean) Method

Definition

Sets a value indicating whether the specified control wants to skip the modal check during MoveFocusInto calls.

public:
 static void SetAllowModalMoveFocus(System::Windows::UIElement ^ element, bool value);
public static void SetAllowModalMoveFocus (System.Windows.UIElement element, bool value);
static member SetAllowModalMoveFocus : System.Windows.UIElement * bool -> unit
Public Shared Sub SetAllowModalMoveFocus (element As UIElement, value As Boolean)

Parameters

element
UIElement

The control to configure.

value
Boolean

True if the control wants to skip the modal check.

Applies to