Table of Contents

Class DragState

Namespace
SharpConsoleUI.Core
Assembly
SharpConsoleUI.dll

State of an active drag operation

public record DragState : IEquatable<DragState>
Inheritance
DragState
Implements
Inherited Members

Constructors

DragState(Window, Point, Point)

State of an active drag operation

public DragState(Window Window, Point StartMousePos, Point StartWindowPos)

Parameters

Window Window

Window being dragged

StartMousePos Point

Mouse position when drag started

StartWindowPos Point

Window position when drag started

Properties

StartMousePos

Mouse position when drag started

public Point StartMousePos { get; init; }

Property Value

Point

StartWindowPos

Window position when drag started

public Point StartWindowPos { get; init; }

Property Value

Point

Window

Window being dragged

public Window Window { get; init; }

Property Value

Window