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