Table of Contents

Class StateEventArgs<T>

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

EventArgs for events that convey state changes to a View class.

public class StateEventArgs<T> : CancelEventArgs

Type Parameters

T
Inheritance
StateEventArgs<T>
Inherited Members

Remarks

Events that use this class can be cancellable. The Cancel property should be set to true to prevent the state change from occurring.

Constructors

StateEventArgs(T, T)

Creates a new instance of the StateEventArgs<T> class.

Properties

NewValue

The new state

OldValue

The previous state