AutomationElement.FocusedElement Właściwość

Definicja

Pobiera ten element AutomationElement , który ma obecnie fokus.

public:
 static property System::Windows::Automation::AutomationElement ^ FocusedElement { System::Windows::Automation::AutomationElement ^ get(); };
public static System.Windows.Automation.AutomationElement FocusedElement { get; }
static member FocusedElement : System.Windows.Automation.AutomationElement
Public Shared ReadOnly Property FocusedElement As AutomationElement

Wartość właściwości

Skoncentrowany element interfejsu użytkownika.

Uwagi

Jeśli aplikacja kliencka może spróbować znaleźć elementy we własnym interfejsie użytkownika, należy wykonać wszystkie automatyzacja interfejsu użytkownika wywołania w osobnym wątku.

Dotyczy

Zobacz też