Table of Contents

Method OnHeightChanging

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

OnHeightChanging(ValueChangingEventArgs<Dim>)

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

protected virtual bool OnHeightChanging(ValueChangingEventArgs<Dim> args)

Parameters

args ValueChangingEventArgs<Dim>

The event arguments containing the current and proposed new height.

Returns

bool

True to cancel the change, false to proceed.