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
WindowWindowWindow being dragged
StartMousePosPointMouse position when drag started
StartWindowPosPointWindow position when drag started
Properties
StartMousePos
Mouse position when drag started
public Point StartMousePos { get; init; }
Property Value
StartWindowPos
Window position when drag started
public Point StartWindowPos { get; init; }
Property Value
Window
Window being dragged
public Window Window { get; init; }