TabPage class Core

One page of a TabControl: the caption of its tab and what it shows.

public sealed class TabPage
Namespace
ArionUI.Presentation.Controls
Package
ArionUI.Presentation · dotnet add package ArionUI.Presentation --prerelease

Constructors

TabPage

public TabPage();

Properties

CanClose

public bool? CanClose { get; init; }

The tab shows a close mark; null takes the tab control's TabControl.ClosableTabs.

Content

public required Control Content { get; init; }

What the page shows below the tabs.

public required Func<string> Header { get; init; }

The tab's caption, asked each time it is drawn.

Id

public string Id { get; init; }

Names the tab's part for tests and assistive technology; the page is named after it.