Table of Contents

Method OnSubViewAdded

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

OnSubViewAdded(View)

Configures a subview when it is added to the tab view, applying tab-specific layout, border, and focus settings.

protected override void OnSubViewAdded(View view)

Parameters

view View

The subview being added to the tab view. Cannot be null.

Remarks

This method customizes the appearance and behavior of the subview to match the tabbed interface, including setting border styles, layout, and focus properties. It also adds scroll indicator buttons to the tab's border to provide visual affordance when scrolling is available.