Table of Contents

Class CWPPropertyHelper

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

Provides helper methods for executing property change workflows in the Cancellable Work Pattern (CWP).

public static class CWPPropertyHelper
Inheritance
CWPPropertyHelper
Inherited Members

Remarks

Used for workflows where a property value is modified, such as in OrientationHelper or SchemeName, allowing pre- and post-change events to customize or cancel the change.

Methods

ChangeProperty<T>(T, T, Func<ValueChangingEventArgs<T>, bool>, EventHandler<ValueChangingEventArgs<T>>?, Action<ValueChangedEventArgs<T>>?, EventHandler<ValueChangedEventArgs<T>>?, out T)

Executes a CWP workflow for a property change, with pre- and post-change events.

See Also