Class Keybindings
Keybindings renderable
Inheritance
object
Keybindings
Implements
Namespace: Terminaux.Writer.CyclicWriters
Assembly: Terminaux.dll
Syntax
public class Keybindings : IStaticRenderable
Constructors
| Edit this page View SourceKeybindings()
Makes a new instance of the Keybindings renderer
Declaration
public Keybindings()
Properties
| Edit this page View SourceBackgroundColor
Background color
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
BuiltinBackgroundColor
Built-in option key background color
Declaration
public Color BuiltinBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
BuiltinColor
Built-in option key color
Declaration
public Color BuiltinColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
BuiltinForegroundColor
Built-in option key name color
Declaration
public Color BuiltinForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
BuiltinKeybindings
Built-in key bindings
Declaration
public Keybinding[] BuiltinKeybindings { get; set; }
Property Value
Type | Description |
---|---|
Keybinding[] |
HelpKeyInfo
Help key info
Declaration
public ConsoleKeyInfo? HelpKeyInfo { get; set; }
Property Value
Type | Description |
---|---|
ConsoleKeyInfo? |
KeybindingList
Key bindings
Declaration
public Keybinding[] KeybindingList { get; set; }
Property Value
Type | Description |
---|---|
Keybinding[] |
Left
Left position
Declaration
public int Left { get; set; }
Property Value
Type | Description |
---|---|
int |
OptionBackgroundColor
Keybinding option key background color
Declaration
public Color OptionBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
OptionColor
Keybinding option key color
Declaration
public Color OptionColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
OptionForegroundColor
Keybinding option key name color
Declaration
public Color OptionForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Top
Top position
Declaration
public int Top { get; set; }
Property Value
Type | Description |
---|---|
int |
UseColors
Whether to use colors or not
Declaration
public bool UseColors { get; set; }
Property Value
Type | Description |
---|---|
bool |
Width
Width of the keybinding bar
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceRender()
Renders a Keybindings segment group
Declaration
public string Render()
Returns
Type | Description |
---|---|
string | Rendered Keybindings text that will be used by the renderer |