Class PassiveSelection
Passive selection cyclic renderer
Inheritance
Namespace
Syntax
public class PassiveSelection : SimpleCyclicWriter
Constructors
PassiveSelection()
Makes a new selection instance
Declaration
public PassiveSelection()
PassiveSelection(InputChoiceCategoryInfo[])
Makes a new selection instance
Declaration
public PassiveSelection(InputChoiceCategoryInfo[] categories)
Parameters
| Name | Type | Description |
|---|---|---|
| categories | InputChoiceCategoryInfo[] | Categories |
PassiveSelection(InputChoiceGroupInfo[])
Makes a new selection instance
Declaration
public PassiveSelection(InputChoiceGroupInfo[] groups)
Parameters
| Name | Type | Description |
|---|---|---|
| groups | InputChoiceGroupInfo[] | Groups |
PassiveSelection(InputChoiceInfo[])
Makes a new selection instance
Declaration
public PassiveSelection(InputChoiceInfo[] choices)
Parameters
| Name | Type | Description |
|---|---|---|
| choices | InputChoiceInfo[] | Choices |
Properties
AltBackgroundColor
Alternative option background color
Property Value
Color
Declaration
public Color AltBackgroundColor { get; }
AltChoicePos
Alternative choice position (one-based)
Property Value
int
Declaration
public int AltChoicePos { get; set; }
AltForegroundColor
Alternative option foreground color
Property Value
Color
Declaration
public Color AltForegroundColor { get; }
BackgroundColor
Option background color
Property Value
Color
Declaration
public Color BackgroundColor { get; }
DisabledBackgroundColor
Disabled option background color
Property Value
Color
Declaration
public Color DisabledBackgroundColor { get; }
DisabledForegroundColor
Disabled option foreground color
Property Value
Color
Declaration
public Color DisabledForegroundColor { get; }
ForegroundColor
Option foreground color
Property Value
Color
Declaration
public Color ForegroundColor { get; }
Selections
List of selection categories
Property Value
Declaration
public InputChoiceCategoryInfo[] Selections { get; set; }
Settings
Selection style settings
Property Value
Declaration
public SelectionStyleSettings Settings { get; set; }
UseColors
Whether to use colors or not
Property Value
bool
Declaration
public bool UseColors { get; set; }
Methods
Render()
Renders a selection
Returns
string
A string representation of the selection
Declaration
public override string Render()