共用方式為


FocusHelper.GetEnableActivationSynchronization(UIElement) Method

Definition

Gets a value indicating whether the specified control wants to participate in focus restoration when it has focus during window activation.

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

Parameters

element
UIElement

The control to check.

Returns

true if the control wants to participate in focus restoration on activation.

Applies to