Class TabView.Tab
A single tab in a TabView
Inherited Members
Namespace: Terminal.Gui
Assembly: Terminal.Gui.dll
Syntax
public class TabView.Tab
Constructors
| Edit this page View SourceTab()
Creates a new unamed tab with no controls inside
Declaration
public Tab()
Tab(string, View)
Creates a new tab with the given text hosting a view
Declaration
public Tab(string text, View view)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | |
| View | view |
Properties
| Edit this page View SourceText
The text to display in a TabView
Declaration
public ustring Text { get; set; }
Property Value
| Type | Description |
|---|---|
| ustring |
View
The control to display when the tab is selected
Declaration
public View View { get; set; }
Property Value
| Type | Description |
|---|---|
| View |