Class ComboBoxModule
Combo box (selection) module
Inherited Members
Namespace: Terminaux.Inputs.Modules
Assembly: Terminaux.dll
Syntax
public class ComboBoxModule : InputModule
Properties
| Edit this page View SourceChoices
Choices to render
Declaration
public InputChoiceCategoryInfo[] Choices { get; set; }
Property Value
Type | Description |
---|---|
InputChoiceCategoryInfo[] |
Methods
| Edit this page View SourceProcessInput(Coordinate, Size)
Processes the input by prompting user
Declaration
public override void ProcessInput(Coordinate inputPopoverPos = default, Size inputPopoverSize = default)
Parameters
Type | Name | Description |
---|---|---|
Coordinate | inputPopoverPos | Input popover position. If there is no popover, it can be the same as the beginning of the input |
Size | inputPopoverSize | Input popover size. If there is no popover, it can be the same as the input height and/or width |
Overrides
| Edit this page View SourceRenderInput(int)
Renders the input before the control goes to this input module (before ProcessInput(Coordinate, Size) is called)
Declaration
public override string RenderInput(int width)
Parameters
Type | Name | Description |
---|---|---|
int | width | Input width (excluding the input name width) |
Returns
Type | Description |
---|---|
string | A string that can be rendered to the console |