Table of Contents

Method OnWidthChanging

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

OnWidthChanging(ValueChangingEventArgs<Dim>)

Called before the Width property changes, allowing subclasses to cancel or modify the change.

protected virtual bool OnWidthChanging(ValueChangingEventArgs<Dim> args)

Parameters

args ValueChangingEventArgs<Dim>

The event arguments containing the current and proposed new width.

Returns

bool

True to cancel the change, false to proceed.