Window.HasFocus Method

SFML.Net

WindowHasFocus Method
Check whether the window has the input focus

Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public virtual bool HasFocus()
Public Overridable Function HasFocus As Boolean
public:
virtual bool HasFocus()
abstract HasFocus : unit -> bool 
override HasFocus : unit -> bool 

Return Value

Type: Boolean
True if the window has focus, false otherwise
See Also