Table of Contents

Method OnSubViewAdding

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

OnSubViewAdding(EventArgs<View>)

Called before a SubView is added to this View. Return true to cancel the addition.

protected virtual bool OnSubViewAdding(EventArgs<View> args)

Parameters

args EventArgs<View>

Arguments describing the pending addition. Value is the SubView being added.

Returns

bool

true to cancel the addition; false to allow it.