Table of Contents

Event SubViewAdding

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

Raised before a SubView is added to this View.

public event EventHandler<EventArgs<View>>? SubViewAdding

Returns

EventHandler<EventArgs<View>>
Raised before a SubView is added to this View.

Remarks

This event follows the Cancellable Work Pattern (CWP). Override OnSubViewAdding(EventArgs<View>) and return true to cancel the addition.