Table of Contents

Class SettingsGroupBuilder

Namespace
SharpConsoleUI.Core
Assembly
SharpConsoleUI.dll

Builder for configuring pages within a settings group during registration.

public sealed class SettingsGroupBuilder
Inheritance
SettingsGroupBuilder
Inherited Members
Extension Methods

Methods

AddPage(string, string?, string?, Action<ScrollablePanelControl>?)

Adds a page to this settings group.

public SettingsGroupBuilder AddPage(string name, string? icon = null, string? subtitle = null, Action<ScrollablePanelControl>? content = null)

Parameters

name string

The display name of the settings page.

icon string

Optional icon character or string shown beside the page name.

subtitle string

Optional subtitle shown below the page name.

content Action<ScrollablePanelControl>

Factory that populates the page content panel.

Returns

SettingsGroupBuilder

This builder for method chaining.