AutomationProperties.GetAutomationControlType(UIElement) Metodo

Definizione

Ottiene il valore della proprietà associata AutomationProperties.AutomationControlType per l'oggetto DependencyObject specificato.

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

Parametri

element
UIElement

DependencyObject da controllare.

Restituisce

Tipo di controllo Automazione interfaccia utente per l'elemento specificato.

Requisiti Windows

Famiglia di dispositivi
Windows 11 (è stato introdotto in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v14.0)

Si applica a