Table of Contents

Class StatusBarOptions

Namespace
SharpConsoleUI.Configuration
Assembly
SharpConsoleUI.dll

Configuration options for status bar behavior and Start menu.

public record StatusBarOptions : IEquatable<StatusBarOptions>
Inheritance
StatusBarOptions
Implements
Inherited Members

Constructors

StatusBarOptions(bool, StatusBarLocation, StartButtonPosition, string, ConsoleKey, ConsoleModifiers, bool, bool, bool, bool, bool)

Configuration options for status bar behavior and Start menu.

public StatusBarOptions(bool ShowStartButton = false, StatusBarLocation StartButtonLocation = StatusBarLocation.Bottom, StartButtonPosition StartButtonPosition = StartButtonPosition.Left, string StartButtonText = "☰ Start", ConsoleKey StartMenuShortcutKey = ConsoleKey.Spacebar, ConsoleModifiers StartMenuShortcutModifiers = ConsoleModifiers.Control, bool ShowSystemMenuCategory = true, bool ShowWindowListInMenu = true, bool ShowTopStatus = true, bool ShowBottomStatus = true, bool ShowTaskBar = true)

Parameters

ShowStartButton bool
StartButtonLocation StatusBarLocation
StartButtonPosition StartButtonPosition
StartButtonText string
StartMenuShortcutKey ConsoleKey
StartMenuShortcutModifiers ConsoleModifiers
ShowSystemMenuCategory bool
ShowWindowListInMenu bool
ShowTopStatus bool
ShowBottomStatus bool
ShowTaskBar bool

Properties

Default

Gets the default status bar options.

public static StatusBarOptions Default { get; }

Property Value

StatusBarOptions

ShowBottomStatus

public bool ShowBottomStatus { get; init; }

Property Value

bool

ShowStartButton

public bool ShowStartButton { get; init; }

Property Value

bool

ShowSystemMenuCategory

public bool ShowSystemMenuCategory { get; init; }

Property Value

bool

ShowTaskBar

public bool ShowTaskBar { get; init; }

Property Value

bool

ShowTopStatus

public bool ShowTopStatus { get; init; }

Property Value

bool

ShowWindowListInMenu

public bool ShowWindowListInMenu { get; init; }

Property Value

bool

StartButtonLocation

public StatusBarLocation StartButtonLocation { get; init; }

Property Value

StatusBarLocation

StartButtonPosition

public StartButtonPosition StartButtonPosition { get; init; }

Property Value

StartButtonPosition

StartButtonText

public string StartButtonText { get; init; }

Property Value

string

StartMenuShortcutKey

public ConsoleKey StartMenuShortcutKey { get; init; }

Property Value

ConsoleKey

StartMenuShortcutModifiers

public ConsoleModifiers StartMenuShortcutModifiers { get; init; }

Property Value

ConsoleModifiers

TopStartButton

Gets status bar options with Start button in top status bar.

public static StatusBarOptions TopStartButton { get; }

Property Value

StatusBarOptions

WithStartButtonDisabled

Gets status bar options with the Start button disabled.

public static StatusBarOptions WithStartButtonDisabled { get; }

Property Value

StatusBarOptions