Share via


CommandBarFlyoutCommandBarAutomationProperties.SetControlType Methode

Definition

Legt den Steuerelementtyp für das angegebene Objekt fest.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe die Windows App SDK Namespaces).

public:
 static void SetControlType(UIElement ^ element, AutomationControlType value);
 static void SetControlType(UIElement const& element, AutomationControlType const& value);
public static void SetControlType(UIElement element, AutomationControlType value);
Public Shared Sub SetControlType (element As UIElement, value As AutomationControlType)

Parameter

element
UIElement

Das Objekt, für das der Steuerelementtyp festgelegt werden soll.

value
AutomationControlType

Der Steuerelementtyp für das angegebene Objekt.

Gilt für: