Table of Contents

Method Add

Namespace
Alternet.Maui
Assembly
Alternet.UI.Maui.dll

Add(string?, Func<View>?, string?, SvgImage?)

Adds a new tab to the tab control view.

public virtual SimpleTabControlView.TabControlItem Add(string? text, Func<View>? getView = null, string? toolTip = null, SvgImage? image = null)

Parameters

text string

The text to display on the tab.

getView Func<View>

A function that returns the content view for the tab.

toolTip string

The tooltip text for the tab.

image SvgImage

The image to display on the tab.

Returns

SimpleTabControlView.TabControlItem