Class GridLayoutManager
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
- API Level:
- 6
Layout collection of views in a grid.
C#Copypublic class GridLayoutManager : LinearLayoutManager
- Inheritance
Constructors
Declaration
C#Copypublic GridLayoutManager(int spanCount, int orientation)
Parameters
Type | Name | Description |
---|---|---|
Int32 | spanCount | The number of columns or rows in the grid |
Int32 | orientation | Layout orientation.Should be HORIZONTAL or VERTICAL |
API Level: 6
Methods
View Source
GetNextPosition(Int32, FlexibleViewLayoutManager.Direction)
Retrieves a position that neighbor to current position by direction.
Declaration
C#Copyprotected override int GetNextPosition(int position, FlexibleViewLayoutManager.Direction direction)
Parameters
Type | Name | Description |
---|---|---|
Int32 | position | The anchor adapter position |
FlexibleViewLayoutManager.Direction | direction | The direction. |
Returns
Type | Description |
---|---|
Int32 |