A2v10 Platform documentation
UK


Grid Layout Element

Represents a grid of rows and columns.

Inherits: Container : UIElement : UIElementBase

Note. The Grid container is used in UI layouts. It is not intended to display data. To display and bind to data, use appropriate controls such as Table or DataGrid.

Properties

Name Type Description
Height Length The control height.
Gap GapSize Spacings between rows and columns of the grid.
DropShadow ShadowStyle Shadow type.
Background BackgroundStyle Background color.
AutoFlow AutoFlowMode Automatic items placement mode.
AlignItems AlignItem Automatic items alignment mode.
Rows RowDefinitions Grid rows definitions.
Columns ColumnDefinitions Grid columns definitions.
Base item properties

Attached properties

Name Type Description
Grid.Row Int32 Determines the number of the row where the child should be placed.
Grid.Col Int32 Determines the number of the column where the child should be placed.
Grid.RowSpan Int32 Determines the quantity of the rows that the child will take. By default - 1.
Grid.ColSpan Int32 Determines the quantity of the columns that the child will take. By default - 1.
Grid.VAlign AlignItem Determines the vertical alignment of the child of the table. by default - Top.