다음을 통해 공유


FocusManager.GetFocusedElement 메서드

정의

오버로드

GetFocusedElement()

포커스가 있는 UI의 요소를 검색합니다.

GetFocusedElement(XamlRoot)

XAML 아일랜드 컨테이너 내에서 포커스가 있는 요소를 검색합니다.

GetFocusedElement()

포커스가 있는 UI의 요소를 검색합니다.

public:
 static Platform::Object ^ GetFocusedElement();
/// [Windows.Foundation.Metadata.Overload("GetFocusedElement")]
 static IInspectable GetFocusedElement();
[Windows.Foundation.Metadata.Overload("GetFocusedElement")]
public static object GetFocusedElement();
function getFocusedElement()
Public Shared Function GetFocusedElement () As Object

반환

Object

Platform::Object

IInspectable

포커스가 있는 개체입니다. 일반적으로 Control 클래스입니다.

특성

적용 대상

GetFocusedElement(XamlRoot)

XAML 아일랜드 컨테이너 내에서 포커스가 있는 요소를 검색합니다.

public:
 static Platform::Object ^ GetFocusedElement(XamlRoot ^ xamlRoot);
/// [Windows.Foundation.Metadata.Overload("GetFocusedElementWithRoot")]
 static IInspectable GetFocusedElement(XamlRoot const& xamlRoot);
[Windows.Foundation.Metadata.Overload("GetFocusedElementWithRoot")]
public static object GetFocusedElement(XamlRoot xamlRoot);
function getFocusedElement(xamlRoot)
Public Shared Function GetFocusedElement (xamlRoot As XamlRoot) As Object

매개 변수

xamlRoot
XamlRoot

반환

Object

Platform::Object

IInspectable

포커스가 있는 개체입니다. 일반적으로 Control 클래스입니다.

특성

추가 정보

적용 대상