Table of Contents

Class StartMenuOptions

Namespace
SharpConsoleUI.Configuration
Assembly
SharpConsoleUI.dll

Configuration options for Start menu appearance and behavior. Use object initializer syntax to set only the properties you need.

public class StartMenuOptions
Inheritance
StartMenuOptions
Inherited Members
Extension Methods

Properties

AppName

Application name shown in the Start menu header. Defaults to "SharpConsoleUI".

public string? AppName { get; init; }

Property Value

string

AppVersion

Application version shown in the Start menu header. Defaults to library version.

public string? AppVersion { get; init; }

Property Value

string

BackgroundColor

Background color. Null resolves from theme MenuDropdownBackgroundColor.

public Color? BackgroundColor { get; init; }

Property Value

Color?

BackgroundGradient

Optional gradient background for the Start menu window.

public GradientBackground? BackgroundGradient { get; init; }

Property Value

GradientBackground

ForegroundColor

Foreground color. Null resolves from theme MenuDropdownForegroundColor.

public Color? ForegroundColor { get; init; }

Property Value

Color?

HeaderIcon

Icon displayed next to the app name in the header. Defaults to "☰" (U+2630).

public string HeaderIcon { get; init; }

Property Value

string

HighlightBackgroundColor

Highlight background color. Null resolves from theme MenuDropdownHighlightBackgroundColor.

public Color? HighlightBackgroundColor { get; init; }

Property Value

Color?

HighlightForegroundColor

Highlight foreground color. Null resolves from theme MenuDropdownHighlightForegroundColor.

public Color? HighlightForegroundColor { get; init; }

Property Value

Color?

Layout

Layout mode: SingleColumn (compact) or TwoColumn (with window list).

public StartMenuLayout Layout { get; init; }

Property Value

StartMenuLayout

ShowIcons

Whether to show Unicode icons next to headers and exit.

public bool ShowIcons { get; init; }

Property Value

bool

ShowSystemCategory

Show built-in System category (themes, settings, about, performance).

public bool ShowSystemCategory { get; init; }

Property Value

bool

ShowWindowList

Show Windows list (right column in TwoColumn, submenu in SingleColumn).

public bool ShowWindowList { get; init; }

Property Value

bool