Kanzi  3.9.4
Kanzi Engine API
grid_layout_concept_properties.h File Reference

Variables

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

Variable Documentation

◆ DirectionProperty

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()

◆ ColumnDefinitionsProperty

PropertyType<string> ColumnDefinitionsProperty
static

ColumnDefinitions property.

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

See also
setColumnDefinitions(), getColumnDefinitions()

◆ RowDefinitionsProperty

PropertyType<string> RowDefinitionsProperty
static

RowDefinitions property.

Defines the rows of a grid. The string format is "[*f|f];[*f|f];...", where:

  • ';' separates row definitions
  • 'f' signifies a float number
  • '*' 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.
  • ";;" defines three rows that all have heights calculated from their content.
  • "*1.0;*2.0;*3.0;" defines three rows where the first row has 1/6 of the total height (Node::HeightProperty), the second 2/6 and the third 3/6. The default value is "".
    See also
    setRowDefinitions(), getRowDefinitions()

◆ ColumnProperty

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()

◆ ColumnSpanProperty

PropertyType<int> ColumnSpanProperty
static

ColumnSpan property.

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

See also
setColumnSpan(), getColumnSpan()

◆ RowProperty

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()

◆ RowSpanProperty

PropertyType<int> RowSpanProperty
static

RowSpan property.

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

See also
setRowSpan(), getRowSpan()