AutomationProperties.SetAutomationControlType 메서드

정의

지정한 DependencyObject에 대한 AutomationProperties.AutomationControlType 연결된 속성의 값을 설정합니다.

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)

매개 변수

element
UIElement

속성을 설정할 DependencyObject 입니다.

value
AutomationControlType

설정할 UI 자동화 컨트롤 형식입니다.

Windows 요구 사항

디바이스 패밀리
Windows 11 (10.0.22000.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v14.0에서 도입되었습니다.)

적용 대상