Show / Hide Table of Contents

Class WindowMoveEventArgs

This event is triggered when a window has its position changed on screen.

Inheritance
object
EventArgs
WindowEventArgs
WindowMoveEventArgs
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.Platform
Assembly: OpenTK.Platform.dll
Syntax
public class WindowMoveEventArgs : WindowEventArgs

Constructors

WindowMoveEventArgs(WindowHandle, Vector2i, Vector2i)

Initializes a new instance of the WindowMoveEventArgs class.

Declaration
public WindowMoveEventArgs(WindowHandle window, Vector2i windowPosition, Vector2i clientAreaPosition)
Parameters
Type Name Description
WindowHandle window

The window that moved.

Vector2i windowPosition

The new window position.

Vector2i clientAreaPosition

The new window client area position.

Properties

ClientAreaPosition

The new client area position in screen coordinates.

Declaration
public Vector2i ClientAreaPosition { get; }
Property Value
Type Description
Vector2i

WindowPosition

The new window position in screen coordinates.

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