Class InteractionStateChangedEventArgs
- Namespace
- SharpConsoleUI.Core
- Assembly
- SharpConsoleUI.dll
Event arguments for interaction (drag/resize) state changes
public class InteractionStateChangedEventArgs : EventArgs
- Inheritance
-
InteractionStateChangedEventArgs
- Inherited Members
Constructors
InteractionStateChangedEventArgs(InteractionState, InteractionState)
Initializes a new instance of the InteractionStateChangedEventArgs class.
public InteractionStateChangedEventArgs(InteractionState previousState, InteractionState newState)
Parameters
previousStateInteractionStateThe interaction state before the change.
newStateInteractionStateThe interaction state after the change.
Properties
DragEnded
Whether a drag operation ended
public bool DragEnded { get; }
Property Value
DragStarted
Whether a drag operation started
public bool DragStarted { get; }
Property Value
NewState
The new interaction state
public InteractionState NewState { get; }
Property Value
PreviousState
The previous interaction state
public InteractionState PreviousState { get; }
Property Value
ResizeEnded
Whether a resize operation ended
public bool ResizeEnded { get; }
Property Value
ResizeStarted
Whether a resize operation started
public bool ResizeStarted { get; }