Class MultiComboBoxModule
Multi combo box module
Inheritance
Inherited Members
Namespace
Syntax
public class MultiComboBoxModule : InputModule
Constructors
MultiComboBoxModule()
Makes a new multiple selection combo box module instance
Declaration
public MultiComboBoxModule()
MultiComboBoxModule(InputChoiceCategoryInfo[])
Makes a new multiple selection combo box module instance
Declaration
public MultiComboBoxModule(InputChoiceCategoryInfo[] categories)
Parameters
| Name | Type | Description |
|---|---|---|
| categories | InputChoiceCategoryInfo[] | Categories |
MultiComboBoxModule(InputChoiceGroupInfo[])
Makes a new multiple selection combo box module instance
Declaration
public MultiComboBoxModule(InputChoiceGroupInfo[] groups)
Parameters
| Name | Type | Description |
|---|---|---|
| groups | InputChoiceGroupInfo[] | Groups |
MultiComboBoxModule(InputChoiceInfo[])
Makes a new multiple selection combo box module instance
Declaration
public MultiComboBoxModule(InputChoiceInfo[] choices)
Parameters
| Name | Type | Description |
|---|---|---|
| choices | InputChoiceInfo[] | Choices |
Properties
Choices
Choices to render
Property Value
Declaration
public InputChoiceCategoryInfo[] Choices { get; set; }
ExtraPopoverHeight
Extra popover height to add
Property Value
Declaration
public override int ExtraPopoverHeight { get; protected set; }
Overrides
Methods
ProcessInput(Coordinate, Size)
Processes the input by prompting user
Declaration
public override void ProcessInput(Coordinate inputPopoverPos = default, Size inputPopoverSize = default)
Parameters
| Name | Type | Description |
|---|---|---|
| inputPopoverPos | Coordinate | Input popover position. If there is no popover, it can be the same as the beginning of the input |
| inputPopoverSize | Size | Input popover size. If there is no popover, it can be the same as the input height and/or width |
Overrides
RenderInput(int)
Renders the input before the control goes to this input module (before ProcessInput(Coordinate, Size) is called)
Returns
A string that can be rendered to the console
Declaration
public override string RenderInput(int width)
Parameters
| Name | Type | Description |
|---|---|---|
| width | int | Input width (excluding the input name width) |