Search Results for

    Show / Hide Table of Contents

    Class ComboBoxModule

    Combo box (selection) module

    Inheritance
    object
    InputModule
    ComboBoxModule
    Inherited Members
    InputModule.Name
    InputModule.Description
    InputModule.Value
    InputModule.UseColor
    InputModule.Foreground
    InputModule.BlankForeground
    InputModule.Background
    InputModule.Provided
    InputModule.GetValue<T>()
    Namespace: Terminaux.Inputs.Modules
    Assembly: Terminaux.dll
    Syntax
    public class ComboBoxModule : InputModule

    Properties

    | Edit this page View Source

    Choices

    Choices to render

    Declaration
    public InputChoiceCategoryInfo[] Choices { get; set; }
    Property Value
    Type Description
    InputChoiceCategoryInfo[]

    Methods

    | Edit this page View Source

    ProcessInput(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
    InputModule.ProcessInput(Coordinate, Size)
    | Edit this page View Source

    RenderInput(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

    Overrides
    InputModule.RenderInput(int)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX