Show / Hide Table of Contents

    Interface IComboBoxComponent

    The combo box component allows having the entity behave like a drop-down for selecting an item from a list.

    Inherited Members
    IComponent.Name
    IComponent.Entity
    IComponent.RegistrationType
    IComponent.Init(IEntity, Type)
    IComponent.AfterInit()
    System.IDisposable.Dispose()
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    Namespace: AGS.API
    Assembly: AGS.API.dll
    Syntax
    public interface IComboBoxComponent : IComponent, IDisposable, INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    DropDownButton

    Gets or sets the drop down button, which shows the drop down list when clicked.

    Declaration
    IButton DropDownButton { get; set; }
    Property Value
    Type Description
    IButton

    The drop down button.

    | Improve this Doc View Source

    DropDownPanel

    Sets the drop down panel which hosts the selection item.

    Declaration
    IListbox DropDownPanel { get; set; }
    Property Value
    Type Description
    IListbox
    | Improve this Doc View Source

    DropDownPanelList

    Gets the drop down panel list of items.

    Declaration
    IListboxComponent DropDownPanelList { get; }
    Property Value
    Type Description
    IListboxComponent

    The drop down panel.

    | Improve this Doc View Source

    MarkComboboxSuggestion

    Allows to override the behavior when marking suggestions on the dropdown as the user types text in the textbox. By default, the suggestion is given an orange color, but if you want a different behavior, set this callback which gets 2 parameters: the old button which is no longer the current marked suggestion (passed to clear the current mark) and the new button which is the new suggestion in the dropdown (passed to "draw" the mark on the button).

    Declaration
    Action<IButton, IButton> MarkComboboxSuggestion { get; set; }
    Property Value
    Type Description
    System.Action<IButton, IButton>

    The mark suggestion.

    | Improve this Doc View Source

    SuggestMode

    Gets or sets the suggestion mode (how does the combobox behave when the user types text directly in the textbox instead of using the dropdown button).

    Declaration
    ComboSuggest SuggestMode { get; set; }
    Property Value
    Type Description
    ComboSuggest

    The suggestion mode.

    | Improve this Doc View Source

    TextBox

    Gets or sets the text box which shows the display text of the selected item.

    Declaration
    ITextBox TextBox { get; set; }
    Property Value
    Type Description
    ITextBox

    The text box.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX