Freigeben über


AutomationProperties.GetAutomationControlType(UIElement) Methode

Definition

Ruft den Microsoft.UI.Xaml.Automation.Peers.AutomationControlType für das angegebene UI-Element ab.

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

Parameter

element
UIElement

Das UI-Element, für das der Steuerelementtyp der Benutzeroberflächenautomatisierung abgerufen werden soll.

Gibt zurück

Die Microsoft.UI.Xaml.Automation.Peers.AutomationControlType für das angegebene UI-Element.

Gilt für: