Table of Contents

Class ListBox

Namespace
OmegaGUI.Model
Assembly
OmegaGUI.dll

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

MonitoredCollection<string>

OnDoubleClick

A Lua script to execute when the user double-clicks onto an entry

[FileType("Lua")]
public string? OnDoubleClick { get; set; }

Property Value

string

OnSelection

A Lua script to execute when the user selects an entry

[FileType("Lua")]
public string? OnSelection { get; set; }

Property Value

string

SelectedItem

The currently selected item in the control

public string SelectedItem { get; set; }

Property Value

string

Style

The style of the list box

public ListBoxStyle Style { get; set; }

Property Value

ListBoxStyle