Class ListBox
List box control
public class ListBox : Control, ICloneable
- Inheritance
-
ListBox
- Implements
- Inherited Members
- Extension Methods
Constructors
ListBox()
public ListBox()
Properties
Items
A list of strings selectable in the control
public MonitoredCollection<string> Items { get; }
Property Value
OnDoubleClick
A Lua script to execute when the user double-clicks onto an entry
[FileType("Lua")]
public string? OnDoubleClick { get; set; }
Property Value
OnSelection
A Lua script to execute when the user selects an entry
[FileType("Lua")]
public string? OnSelection { get; set; }
Property Value
SelectedItem
The currently selected item in the control
public string SelectedItem { get; set; }
Property Value
Style
The style of the list box
public ListBoxStyle Style { get; set; }