FocusHelper.SetAllowModalMoveFocus(UIElement, Boolean) Method
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.
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.