Table of Contents

Class ValueChangingEventArgs<T>

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

Provides data for events that allow modification or cancellation of a property change in the Cancellable Work Pattern (CWP).

public class ValueChangingEventArgs<T>

Type Parameters

T

The type of the property value, which may be a nullable reference type (e.g., string?).

Inheritance
ValueChangingEventArgs<T>
Inherited Members

Remarks

Constructors

ValueChangingEventArgs(T, T)

Initializes a new instance of the ValueChangingEventArgs<T> class.

Properties

CurrentValue

Gets the current value before the change.

Handled

Gets or sets a value indicating whether the change has been handled. If true, the change is cancelled.

NewValue

Gets or sets the proposed new value, which can be modified by event handlers.

See Also