CoreComponentInputSource.HasFocus CoreComponentInputSource.HasFocus CoreComponentInputSource.HasFocus CoreComponentInputSource.HasFocus Property

Definition

Gets whether the current hosted XAML control element has focus. If it does, keyboard input is delivered to that control.

public : Platform::Boolean HasFocus { get; }
bool HasFocus();
public bool HasFocus { get; }
Public ReadOnly Property HasFocus As bool

Property Value

bool bool

true if the element has focus; false if it does not.