Method | Description | |
---|---|---|
AddRow ( String label ) : Flood.GUI.Controls.Layout.TableRow |
Adds a new row.
|
|
AddRow ( String label, String name ) : Flood.GUI.Controls.Layout.TableRow |
Adds a new row.
|
|
Clear ( ) : void |
Removes all rows.
|
|
ListBox ( |
Initializes a new instance of the ListBox class.
|
|
RemoveRow ( int idx ) : void |
Removes the specified row by index.
|
|
SelectRow ( |
Slelects the specified row.
|
|
SelectRow ( int index, bool clearOthers = false ) : void |
Selects the specified row by index.
|
|
SelectRows ( String rowText, bool clearOthers = false ) : void |
Selects the specified row(s) by text.
|
|
SelectRowsByRegex ( String pattern, RegexOptions regexOptions = RegexOptions.None, bool clearOthers = false ) : void |
Selects the specified row(s) by regex text search.
|
|
SetColumnWidth ( int column, int width ) : void |
Sets the column width (in pixels).
|
|
SizeToContents ( ) : void | ||
UnselectAll ( ) : void |
Deselects all rows.
|
|
UnselectRow ( Flood.GUI.Controls.ListBoxRow row ) : void |
Unselects the specified row.
|
|
this ( int index ) : Flood.GUI.Controls.ListBoxRow |
Returns specific row of the ListBox.
|
Method | Description | |
---|---|---|
OnRowSelected ( |
Handler for the row selection event.
|
|
Render ( Skins skin ) : void |
Renders the control using specified skin.
|
Method | Description | |
---|---|---|
TableResized ( |
public AddRow ( String label ) : Flood.GUI.Controls.Layout.TableRow | ||
label | String | Row text. |
return | Flood.GUI.Controls.Layout.TableRow |
public AddRow ( String label, String name ) : Flood.GUI.Controls.Layout.TableRow | ||
label | String | Row text. |
name | String | Internal control name. |
return | Flood.GUI.Controls.Layout.TableRow |
public ListBox ( |
||
parent | Parent control. | |
return | System |
protected OnRowSelected ( |
||
control | Event source. | |
return | void |
protected Render ( Skins skin ) : void | ||
skin | Skins | Skin to use. |
return | void |
public SelectRow ( |
||
control | Row to select. | |
clearOthers | bool | Determines whether to deselect previously selected rows. |
return | void |
public SelectRow ( int index, bool clearOthers = false ) : void | ||
index | int | Row to select. |
clearOthers | bool | Determines whether to deselect previously selected rows. |
return | void |
public SelectRows ( String rowText, bool clearOthers = false ) : void | ||
rowText | String | Text to search for (exact match). |
clearOthers | bool | Determines whether to deselect previously selected rows. |
return | void |
public SelectRowsByRegex ( String pattern, RegexOptions regexOptions = RegexOptions.None, bool clearOthers = false ) : void | ||
pattern | String | Regex pattern to search for. |
regexOptions | RegexOptions | Regex options. |
clearOthers | bool | Determines whether to deselect previously selected rows. |
return | void |
public SetColumnWidth ( int column, int width ) : void | ||
column | int | Column index. |
width | int | Column width. |
return | void |
public UnselectRow ( Flood.GUI.Controls.ListBoxRow row ) : void | ||
row | Flood.GUI.Controls.ListBoxRow | Row to unselect. |
return | void |
public this ( int index ) : Flood.GUI.Controls.ListBoxRow | ||
index | int | Row index. |
return | Flood.GUI.Controls.ListBoxRow |