Table of Contents

Method OnContentSizeChanging

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

OnContentSizeChanging(ValueChangingEventArgs<Size?>)

Called before the content size changes, allowing subclasses to cancel or modify the change.

protected virtual bool OnContentSizeChanging(ValueChangingEventArgs<Size?> args)

Parameters

args ValueChangingEventArgs<Size?>

The event arguments containing the current and proposed new content size.

Returns

bool

True to cancel the change, false to proceed.