Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
OnRowSelected ( |
Handler for the row selection event.
|
|
Render ( Skins skin ) : void |
Renders the control using specified skin.
|
Метод | Описание | |
---|---|---|
TableResized ( |
public AddRow ( String label ) : Flood.GUI.Controls.Layout.TableRow | ||
label | String | Row text. |
Результат | 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. |
Результат | Flood.GUI.Controls.Layout.TableRow |
public ListBox ( |
||
parent | Parent control. | |
Результат | System |
protected OnRowSelected ( |
||
control | Event source. | |
Результат | void |
protected Render ( Skins skin ) : void | ||
skin | Skins | Skin to use. |
Результат | void |
public SelectRow ( |
||
control | Row to select. | |
clearOthers | bool | Determines whether to deselect previously selected rows. |
Результат | void |
public SelectRow ( int index, bool clearOthers = false ) : void | ||
index | int | Row to select. |
clearOthers | bool | Determines whether to deselect previously selected rows. |
Результат | 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. |
Результат | 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. |
Результат | void |
public SetColumnWidth ( int column, int width ) : void | ||
column | int | Column index. |
width | int | Column width. |
Результат | void |
public UnselectRow ( Flood.GUI.Controls.ListBoxRow row ) : void | ||
row | Flood.GUI.Controls.ListBoxRow | Row to unselect. |
Результат | void |
public this ( int index ) : Flood.GUI.Controls.ListBoxRow | ||
index | int | Row index. |
Результат | Flood.GUI.Controls.ListBoxRow |