AutomationProperties.SetAutomationControlType 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.
Legt die Microsoft.UI.Xaml.Automation.Peers.AutomationControlType für das angegebene UI-Element fest.
public:
static void SetAutomationControlType(UIElement ^ element, AutomationControlType value);
static void SetAutomationControlType(UIElement const& element, AutomationControlType const& value);
public static void SetAutomationControlType(UIElement element, AutomationControlType value);
function setAutomationControlType(element, value)
Public Shared Sub SetAutomationControlType (element As UIElement, value As AutomationControlType)
Parameter
- element
- UIElement
Das UI-Element, für das der Steuerelementtyp der Benutzeroberflächenautomatisierung festgelegt werden soll.
- value
- AutomationControlType
Die Microsoft.UI.Xaml.Automation.Peers.AutomationControlType , die dem UI-Element zugewiesen werden soll.
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