Struct FocusedChangedEventArgs
Defines the event data for the window focus changing.
Inherited Members
Namespace: OpenTK.Windowing.Common
Assembly: OpenTK.Windowing.Common.dll
Syntax
public readonly struct FocusedChangedEventArgs
Constructors
FocusedChangedEventArgs(bool)
Initializes a new instance of the FocusedChangedEventArgs struct.
Declaration
public FocusedChangedEventArgs(bool isFocused)
Parameters
Type | Name | Description |
---|---|---|
bool | isFocused | A value indicating whether the window is focused. |
Properties
IsFocused
Gets a value indicating whether the window is focused.
Declaration
public bool IsFocused { get; }
Property Value
Type | Description |
---|---|
bool |