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
AppVersion
Application version shown in the Start menu header. Defaults to library version.
public string? AppVersion { get; init; }
Property Value
BackgroundColor
Background color. Null resolves from theme MenuDropdownBackgroundColor.
public Color? BackgroundColor { get; init; }
Property Value
BackgroundGradient
Optional gradient background for the Start menu window.
public GradientBackground? BackgroundGradient { get; init; }
Property Value
ForegroundColor
Foreground color. Null resolves from theme MenuDropdownForegroundColor.
public Color? ForegroundColor { get; init; }
Property Value
HeaderIcon
Icon displayed next to the app name in the header. Defaults to "☰" (U+2630).
public string HeaderIcon { get; init; }
Property Value
HighlightBackgroundColor
Highlight background color. Null resolves from theme MenuDropdownHighlightBackgroundColor.
public Color? HighlightBackgroundColor { get; init; }
Property Value
HighlightForegroundColor
Highlight foreground color. Null resolves from theme MenuDropdownHighlightForegroundColor.
public Color? HighlightForegroundColor { get; init; }
Property Value
Layout
Layout mode: SingleColumn (compact) or TwoColumn (with window list).
public StartMenuLayout Layout { get; init; }
Property Value
ShowIcons
Whether to show Unicode icons next to headers and exit.
public bool ShowIcons { get; init; }
Property Value
ShowSystemCategory
Show built-in System category (themes, settings, about, performance).
public bool ShowSystemCategory { get; init; }
Property Value
ShowWindowList
Show Windows list (right column in TwoColumn, submenu in SingleColumn).
public bool ShowWindowList { get; init; }