Bagikan melalui


AutomationProperties.SetAutomationControlType Metode

Definisi

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

DependencyObject untuk mengatur properti.

value
AutomationControlType

Jenis kontrol Automation UI yang akan diatur.

Persyaratan Windows

Rangkaian perangkat
Windows 11 (diperkenalkan dalam 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v14.0)

Berlaku untuk