C# Class FSO.Client.UI.Controls.UIGridViewer

Inheritance: FSO.Client.UI.Framework.UIContainer
Mostra file Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
ItemRender System.Type

Private Properties

Property Type Description
GetCellForItemIndex UIGridViewerRender

Public Methods

Method Description
GetGridArea ( ) : Vector2
Init ( ) : void

Once all the properties are set this will create the UI. Values such as size, thumb size etc can not be changed after this

Protected Methods

Method Description
Render ( ) : void

Draws the correct item in the correct slot

Private Methods

Method Description
GetCellForItemIndex ( int index ) : UIGridViewerRender

Gets the cell that is currently rendering a given item

Method Details

GetGridArea() public method

public GetGridArea ( ) : Vector2
return Vector2

Init() public method

Once all the properties are set this will create the UI. Values such as size, thumb size etc can not be changed after this
public Init ( ) : void
return void

Render() protected method

Draws the correct item in the correct slot
protected Render ( ) : void
return void

Property Details

ItemRender public_oe property

Class to use as the item renderer for each cell in the grid
public Type,System ItemRender
return System.Type