IMyTerminalControlListbox Interface |
[This is preliminary documentation and is subject to change.]
Namespace: Sandbox.ModAPI.Interfaces.Terminal
The IMyTerminalControlListbox type exposes the following members.
Name | Description | |
---|---|---|
RedrawControl |
Recreates the control GUI. This allows you to update the Title of some controls.
(Inherited from IMyTerminalControl.) | |
UpdateVisual |
This updates a control that is currently displayed, allowing you to refresh it's state
(Inherited from IMyTerminalControl.) |
Name | Description | |
---|---|---|
Enabled |
Allows you to set if the control is enabled
(Inherited from IMyTerminalControl.) | |
Id |
Identifier of control
(Inherited from IMyTerminalControl.) | |
ItemSelected |
This is triggered when an item is selected. Can contain more than one item if Multiselect is true.
| |
ListContent |
This is triggered when you need to populate the list with list items. The first list is the items in the list box, and the second list is
the selected items in the list.
| |
Multiselect |
This allows you to enable/disable multiple item selection
| |
SupportsMultipleBlocks |
Allows you to set if the control is visible when the block is selected as a group
(Inherited from IMyTerminalControl.) | |
Title |
Allows you to get or set the Label that appears on the control
(Inherited from IMyTerminalControlTitleTooltip.) | |
Tooltip |
Allows you to get or set the tooltip that appears when you hover over the control
(Inherited from IMyTerminalControlTitleTooltip.) | |
Visible |
Allows you to set if the control is visible
(Inherited from IMyTerminalControl.) | |
VisibleRowsCount |
This allows you to set how many rows are visible in the list box.
|