Skip to main content
Skip table of contents

<ColumnDefinitions>

The GridLayout element can contain the ColumnDefinitions element. ColumnDefinitions can be used to define the width of each column in the grid layout:

Example ColumnDefinition
XML
<GridLayout alternatingRows="false">
	<ColumnDefinitions>
		<Column width="2"/>
		<Column width="2"/>
		<Column width="1"/>
	</ColumnDefinitions>
	...
</GridLayout>

If the width of the columns is defined using the column definition, then it is not necessary to specify a number of columns for the layout. The number of columns is derived from the column definition. In the above example, three columns are displayed because the Column element exists three times. The first two columns are twice as wide as the third column.

For further information please visit the section

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.