grid_layout_concept_properties.h File Reference

Variables

static PropertyType< GridLayoutConcept::GridDirection > DirectionProperty
 Direction property. More...
 
static PropertyType< string > ColumnDefinitionsProperty
 ColumnDefinitions property. More...
 
static PropertyType< string > RowDefinitionsProperty
 RowDefinitions property. More...
 
static PropertyType< int > ColumnProperty
 Column property. More...
 
static PropertyType< int > ColumnSpanProperty
 ColumnSpan property. More...
 
static PropertyType< int > RowProperty
 Row property. More...
 
static PropertyType< int > RowSpanProperty
 RowSpan property. More...
 

Variable Documentation

PropertyType<GridLayoutConcept::GridDirection> DirectionProperty
static

Direction property.

Defines the grid primary layouting direction. This property specifies how to choose the row and column for items without explicit grid row and column properties. The default value is GridLayoutConcept::GridDirectionRight.

See also
setDirection(), getDirection()
PropertyType<string> ColumnDefinitionsProperty
static

ColumnDefinitions property.

Defines the columns of the grid. See RowDefinitionsProperty. The default value is "".

See also
setColumnDefinitions(), getColumnDefinitions()
PropertyType<string> RowDefinitionsProperty
static

RowDefinitions property.

Defines the rows of the grid. The string has a special format of "[*f|f];[*f|f];...", where each row definition is separated by a ';' character, 'f' signifies a float number and '*' signifies a weighted (proportional) height. For example, "1.0;2.0;3.0;" defines three rows with heights of 1.0, 2.0 and 3.0 respectively. ";;" specifies two rows that all have heights calculated from their content. "*1.0;*2.0;*3.0;" specifies three rows where the first row has 1/6 of the total height (HeightProperty), the second 2/6 and the third 3/6. The default value is "".

See also
setRowDefinitions(), getRowDefinitions()
PropertyType<int> ColumnProperty
static

Column property.

Defines the column of an item in a grid, starting from 0. The default value is 0.

See also
setColumn(), getColumn()
PropertyType<int> ColumnSpanProperty
static

ColumnSpan property.

Defines how many columns this grid item spans. The default value is 1.

See also
setColumnSpan(), getColumnSpan()
PropertyType<int> RowProperty
static

Row property.

Defines the row of an item in a grid, starting from 0. The default value is 0.

See also
setRow(), getRow()
PropertyType<int> RowSpanProperty
static

RowSpan property.

Defines how many rows this grid item spans. The default value is 1.

See also
setRowSpan(), getRowSpan()