Class CancelEventArgs | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

EventArgs for events that convey changes to a property of type T.

public class CancelEventArgs<T> : CancelEventArgs where T : notnull

Type Parameters

T

The type of the value that was part of the change being canceled.

Inheritance

CancelEventArgs

Derived

Inherited Members

Constructors

CancelEventArgs(T, T)

Initializes a new instance of the CancelEventArgs class.

CancelEventArgs(ref readonly T, ref T, bool)

Initializes a new instance of the CancelEventArgs class.

Properties

CurrentValue

The current value of the property.

NewValue

The value the property will be set to if the event is not cancelled.