Share via


DesktopWindowXamlSource.HasFocus Property

Definition

Gets a value that indicates whether the DesktopWindowXamlSource currently has focus in the desktop application.

public:
 property bool HasFocus { bool get(); };
bool HasFocus();
public bool HasFocus { get; }
var boolean = desktopWindowXamlSource.hasFocus;
Public ReadOnly Property HasFocus As Boolean

Property Value

Boolean

bool

True, if the DesktopWindowXamlSource currently has focus in the desktop application; otherwise, false.

Applies to