FocusHelper.SetEnableActivationSynchronization(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 participate in focus restoration when it has focus during window activation.
public:
static void SetEnableActivationSynchronization(System::Windows::UIElement ^ element, bool value);
public static void SetEnableActivationSynchronization (System.Windows.UIElement element, bool value);
static member SetEnableActivationSynchronization : System.Windows.UIElement * bool -> unit
Public Shared Sub SetEnableActivationSynchronization (element As UIElement, value As Boolean)
Parameters
- element
- UIElement
The control to configure.
- value
- Boolean
if the control wants to partipate in focus restoration on activation.