Bagikan melalui


CommandBarFlyoutCommandBarAutomationProperties.GetControlType Metode

Definisi

Mengambil tipe kontrol untuk objek yang ditentukan.

Dokumentasi ini berlaku untuk WinUI 2 untuk UWP (untuk WinUI di SDK Aplikasi Windows, lihat namespace SDK Aplikasi Windows).

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

Parameter

element
UIElement

Objek untuk mendapatkan jenis kontrol.

Mengembalikan

Jenis kontrol untuk objek yang ditentukan.

Berlaku untuk