Delen via


AutomationPeer.GetFocusedElement Method

Definition

Gets the element that currently has the focus.

public:
 virtual Platform::Object ^ GetFocusedElement() = GetFocusedElement;
IInspectable GetFocusedElement();
public object GetFocusedElement();
function getFocusedElement()
Public Function GetFocusedElement () As Object

Returns

Object

Platform::Object

IInspectable

The element that currently has the focus.

Applies to