Table of Contents

Class TabPage

Namespace
SharpConsoleUI.Controls
Assembly
SharpConsoleUI.dll

Represents a single tab page with a title and content.

public class TabPage
Inheritance
TabPage
Inherited Members
Extension Methods

Properties

Content

Gets or sets the control displayed when this tab is active.

public IWindowControl Content { get; set; }

Property Value

IWindowControl

IsClosable

Gets or sets whether this tab can be closed by the user. Future feature: close button in tab header.

public bool IsClosable { get; set; }

Property Value

bool

Tag

Gets or sets custom metadata associated with this tab.

public object? Tag { get; set; }

Property Value

object

Title

Gets or sets the title displayed in the tab header.

public string Title { get; set; }

Property Value

string

Tooltip

Gets or sets the tooltip text shown when hovering over the tab header. Future feature: tooltip display on hover.

public string? Tooltip { get; set; }

Property Value

string