Class Keybindings
Keybindings renderable
Inheritance
Namespace
Syntax
public class Keybindings : SimpleCyclicWriter
Constructors
Keybindings()
Makes a new instance of the keybindings renderer
Declaration
public Keybindings()
Properties
BackgroundColor
Background color
Property Value
Color
Declaration
public Color BackgroundColor { get; set; }
BuiltinBackgroundColor
Built-in option key background color
Property Value
Color
Declaration
public Color BuiltinBackgroundColor { get; set; }
BuiltinColor
Built-in option key color
Property Value
Color
Declaration
public Color BuiltinColor { get; set; }
BuiltinForegroundColor
Built-in option key name color
Property Value
Color
Declaration
public Color BuiltinForegroundColor { get; set; }
BuiltinKeybindings
Built-in key bindings
HelpKeyInfo
Help key info
Property Value
ConsoleKeyInfo?
Declaration
public ConsoleKeyInfo? HelpKeyInfo { get; set; }
KeybindingList
Key bindings
OptionBackgroundColor
Keybinding option key background color
Property Value
Color
Declaration
public Color OptionBackgroundColor { get; set; }
OptionColor
Keybinding option key color
Property Value
Color
Declaration
public Color OptionColor { get; set; }
OptionForegroundColor
Keybinding option key name color
Property Value
Color
Declaration
public Color OptionForegroundColor { get; set; }
UseColors
Whether to use colors or not
Property Value
bool
Declaration
public bool UseColors { get; set; }
Width
Width of the keybinding bar
Property Value
int
Declaration
public int Width { get; set; }
WriteHelpKeyInfo
Whether to write help key info at the end of the keybinding bar upon overflow
Property Value
bool
Declaration
public bool WriteHelpKeyInfo { get; set; }
WriteLabels
Whether to write labels or not
Property Value
bool
Declaration
public bool WriteLabels { get; set; }
Methods
Render()
Renders the keybindings
Returns
string
Rendered text that will be used by the renderer
Declaration
public override string Render()