Show / Hide Table of Contents

Class FocusEventArgs

This event is triggered when a window gets or loses input focus.

Inheritance
object
EventArgs
WindowEventArgs
FocusEventArgs
Inherited Members
WindowEventArgs.Window
EventArgs.Empty
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenTK.Core.Platform
Assembly: OpenTK.Core.dll
Syntax
public class FocusEventArgs : WindowEventArgs

Constructors

FocusEventArgs(WindowHandle, bool)

Initializes a new instance of the FocusEventArgs class.

Declaration
public FocusEventArgs(WindowHandle window, bool gotFocus)
Parameters
Type Name Description
WindowHandle window

The window that got or lost focus.

bool gotFocus

If the window got focus.

Properties

GotFocus

If the window got or lost focus.

Declaration
public bool GotFocus { get; }
Property Value
Type Description
bool
In this article
Back to top Generated by DocFX