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
ShowStartButtonboolStartButtonLocationStatusBarLocationStartButtonPositionStartButtonPositionStartButtonTextstringStartMenuShortcutKeyConsoleKeyStartMenuShortcutModifiersConsoleModifiersShowSystemMenuCategoryboolShowWindowListInMenuboolShowTopStatusboolShowBottomStatusboolShowTaskBarbool
Properties
Default
Gets the default status bar options.
public static StatusBarOptions Default { get; }
Property Value
ShowBottomStatus
public bool ShowBottomStatus { get; init; }
Property Value
ShowStartButton
public bool ShowStartButton { get; init; }
Property Value
ShowSystemMenuCategory
public bool ShowSystemMenuCategory { get; init; }
Property Value
ShowTaskBar
public bool ShowTaskBar { get; init; }
Property Value
ShowTopStatus
public bool ShowTopStatus { get; init; }
Property Value
ShowWindowListInMenu
public bool ShowWindowListInMenu { get; init; }
Property Value
StartButtonLocation
public StatusBarLocation StartButtonLocation { get; init; }
Property Value
StartButtonPosition
public StartButtonPosition StartButtonPosition { get; init; }
Property Value
StartButtonText
public string StartButtonText { get; init; }
Property Value
StartMenuShortcutKey
public ConsoleKey StartMenuShortcutKey { get; init; }
Property Value
StartMenuShortcutModifiers
public ConsoleModifiers StartMenuShortcutModifiers { get; init; }
Property Value
TopStartButton
Gets status bar options with Start button in top status bar.
public static StatusBarOptions TopStartButton { get; }
Property Value
WithStartButtonDisabled
Gets status bar options with the Start button disabled.
public static StatusBarOptions WithStartButtonDisabled { get; }