AutomationPeer.GetFocusedElement AutomationPeer.GetFocusedElement AutomationPeer.GetFocusedElement AutomationPeer.GetFocusedElement Method

Definition

Gets the element that currently has the focus.

public : Platform::Object GetFocusedElement()
winrt::Windows::Foundation::IInspectable GetFocusedElement() const;
public object GetFocusedElement()
Public Function GetFocusedElement() As object
Returns
object object

The element that currently has the focus.