AutomationProperties.GetAutomationControlType(UIElement) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für