AutomationProperties.GetLocalizedControlType(DependencyObject) 메서드

정의

지정된 컨트롤의 형식을 나타내는 지역화된 문자열을 가져옵니다.

public:
 static Platform::String ^ GetLocalizedControlType(DependencyObject ^ element);
 static winrt::hstring GetLocalizedControlType(DependencyObject const& element);
public static string GetLocalizedControlType(DependencyObject element);
function getLocalizedControlType(element)
Public Shared Function GetLocalizedControlType (element As DependencyObject) As String

매개 변수

element
DependencyObject

형식을 검색할 컨트롤입니다.

반환

String

Platform::String

winrt::hstring

요소 매개 변수로 지정된 컨트롤의 형식을 나타내는 지역화된 문자열입니다.

Windows 요구 사항

디바이스 패밀리
Windows 10 Anniversary Edition (10.0.14393.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v3.0에서 도입되었습니다.)

설명

내레이터가 읽은 컨트롤 형식을 변경하는 메커니즘을 제공합니다. 이는 기본 컨트롤이 사용되지 않거나 일반 컨트롤에서 빌드된 복합 UI가 새 기능을 만드는 데 사용되는 사용자 지정 UI를 "메뉴" 또는 "단추"로 설명하는 데 유용합니다.

적용 대상

추가 정보