Class EditStateChangedEventArgs
- Namespace
- SharpConsoleUI.Core
- Assembly
- SharpConsoleUI.dll
Event arguments for edit state changes
public class EditStateChangedEventArgs : EventArgs
- Inheritance
-
EditStateChangedEventArgs
- Inherited Members
Constructors
EditStateChangedEventArgs(IWindowControl, EditState, EditState, EditChangeReason)
Initializes a new instance of the EditStateChangedEventArgs class.
public EditStateChangedEventArgs(IWindowControl control, EditState previousState, EditState newState, EditChangeReason reason)
Parameters
controlIWindowControlThe control whose edit state changed.
previousStateEditStateThe previous edit state before the change.
newStateEditStateThe new edit state after the change.
reasonEditChangeReasonThe reason for the edit state change.
Properties
Control
The control whose edit state changed
public IWindowControl Control { get; }
Property Value
CursorChanged
Whether the cursor position changed
public bool CursorChanged { get; }
Property Value
NewState
The new edit state
public EditState NewState { get; }
Property Value
PreviousState
The previous edit state
public EditState PreviousState { get; }
Property Value
Reason
The reason for the change
public EditChangeReason Reason { get; }
Property Value
ScrollChanged
Whether the scroll position changed
public bool ScrollChanged { get; }
Property Value
SelectionChanged
Whether the selection changed
public bool SelectionChanged { get; }