RenderWindow.HasFocus Method

SFML.Net

RenderWindowHasFocus Method
Check whether the window has the input focus

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

Return Value

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