Share via


CommandBarFlyoutCommandBarAutomationProperties.GetControlType Metodo

Definizione

Recupera il tipo di controllo per l'oggetto specificato.

Questa documentazione si applica a WinUI 2 per UWP (per WinUI nella SDK per app di Windows, vedere gli spazi dei nomi SDK per app di Windows).

public:
 static AutomationControlType GetControlType(UIElement ^ element);
 static AutomationControlType GetControlType(UIElement const& element);
public static AutomationControlType GetControlType(UIElement element);
Public Shared Function GetControlType (element As UIElement) As AutomationControlType

Parametri

element
UIElement

Oggetto per cui ottenere il tipo di controllo.

Restituisce

Tipo di controllo per l'oggetto specificato.

Si applica a