Condividi tramite


FocusManager.GetFocusedElement Metodo

Definizione

Overload

GetFocusedElement()

Recupera l'elemento nell'interfaccia utente con stato attivo.

GetFocusedElement(XamlRoot)

Recupera l'elemento attivo all'interno del contenitore dell'isola XAML.

GetFocusedElement()

Recupera l'elemento nell'interfaccia utente con stato attivo.

public:
 static Platform::Object ^ GetFocusedElement();
/// [Windows.Foundation.Metadata.Overload("GetFocusedElement")]
 static IInspectable GetFocusedElement();
[Windows.Foundation.Metadata.Overload("GetFocusedElement")]
public static object GetFocusedElement();
function getFocusedElement()
Public Shared Function GetFocusedElement () As Object

Restituisce

Object

Platform::Object

IInspectable

Oggetto con stato attivo. In genere, si tratta di una classe Control .

Attributi

Si applica a

GetFocusedElement(XamlRoot)

Recupera l'elemento attivo all'interno del contenitore dell'isola XAML.

public:
 static Platform::Object ^ GetFocusedElement(XamlRoot ^ xamlRoot);
/// [Windows.Foundation.Metadata.Overload("GetFocusedElementWithRoot")]
 static IInspectable GetFocusedElement(XamlRoot const& xamlRoot);
[Windows.Foundation.Metadata.Overload("GetFocusedElementWithRoot")]
public static object GetFocusedElement(XamlRoot xamlRoot);
function getFocusedElement(xamlRoot)
Public Shared Function GetFocusedElement (xamlRoot As XamlRoot) As Object

Parametri

xamlRoot
XamlRoot

Restituisce

Object

Platform::Object

IInspectable

Oggetto con stato attivo. In genere, si tratta di una classe Control .

Attributi

Vedi anche

Si applica a