Class GridList
Represents a Cegui gridlist
Assembly: SlipeClient.dll
Syntax
[DefaultElementClass(ElementType.GuiGridList)]
public class GridList : GuiElement
Constructors
|
Improve this Doc
View Source
GridList(Vector2, Vector2, Boolean, GuiElement)
Declaration
public GridList(Vector2 position, Vector2 dimensions, bool relative = false, GuiElement parent = null)
Parameters
Properties
|
Improve this Doc
View Source
ColumnCount
Get the amount of columns
Declaration
public int ColumnCount { get; }
Property Value
|
Improve this Doc
View Source
Get and set the horizontal scroll position (0-100)
Declaration
public float HorizontalScrollPosition { get; set; }
Property Value
|
Improve this Doc
View Source
RowCount
Declaration
public int RowCount { get; }
Property Value
|
Improve this Doc
View Source
SelectedCount
Get the amount of selected items, returns null if nothing is selected.
Declaration
public int SelectedCount { get; }
Property Value
|
Improve this Doc
View Source
SelectedItem
Declaration
public GridItem SelectedItem { get; set; }
Property Value
|
Improve this Doc
View Source
SelectedItems
Get an array of all the selected items
Declaration
public GridItem[] SelectedItems { get; }
Property Value
|
Improve this Doc
View Source
SelectionMode
Set the selection mode of this gridlist
Declaration
public SelectionMode SelectionMode { get; set; }
Property Value
|
Improve this Doc
View Source
SortingEnabled
Get and set if this gridlist is sortable
Declaration
public bool SortingEnabled { get; set; }
Property Value
|
Improve this Doc
View Source
Get and set the vertical scroll position (0-100)
Declaration
public float VerticalScrollPosition { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
AddColumn(String, Single)
Add a new column to this gridlist
Declaration
public GridColumn AddColumn(string title, float width)
Parameters
Returns
|
Improve this Doc
View Source
AddRow()
Add a new row to this gridlist
Declaration
Returns
|
Improve this Doc
View Source
AddRowAfter(GridRow)
Create a new row after an existing row
Declaration
public GridRow AddRowAfter(GridRow row)
Parameters
Returns
|
Improve this Doc
View Source
AddTopRow()
Create a new row at the top of the list
Declaration
public GridRow AddTopRow()
Returns
|
Improve this Doc
View Source
Clear()
Declaration
Returns
|
Improve this Doc
View Source
GetItem(GridColumn, GridRow)
Get a grid item from a column and row
Declaration
public GridItem GetItem(GridColumn column, GridRow row)
Parameters
Returns
|
Improve this Doc
View Source
RemoveColumn(GridColumn)
Declaration
public bool RemoveColumn(GridColumn column)
Parameters
Returns
|
Improve this Doc
View Source
RemoveRow(GridRow)
Declaration
public bool RemoveRow(GridRow row)
Parameters
Returns
|
Improve this Doc
View Source
Change if horizontal/vertical scrollbars should be used
Declaration
public bool UseScrollBars(bool horizontal, bool vertical)
Parameters
Returns