Telerik UI for Windows Phone by Progress

The Children Flow feature allows you to specify in which directions the child elements to be ordered. In order to do it, you have to set the ChildrenFlow property of the RadUniformGrid control to one of the values of the Orientation enumeration:

  • Horizontal(default) - the grid gets populated horizontally from left to right, row by row. This means that first the cells on the first row will be used and after that sequentially the cells on the next rows.
  • Vertical - the grid gets populated vertically from top to bottom, column by column. This means that first the cells in the first column will be used and after that sequentially the cells in the next columns.

Here is an example of a RadUniformGrid control with vertical orientation.

CopyXAML
<telerikPrimitives:RadUniformGrid x:Name="radUniformGrid" NumberOfColumns="2" NumberOfRows="2" ChildrenFlow="Vertical">
<TextBlock Text="1" HorizontalAlignment="Center" VerticalAlignment="Center" />
<TextBlock Text="2" HorizontalAlignment="Center" VerticalAlignment="Center" />
<TextBlock Text="3" HorizontalAlignment="Center" VerticalAlignment="Center" />
<TextBlock Text="4" HorizontalAlignment="Center" VerticalAlignment="Center" />
</telerikPrimitives:RadUniformGrid>

Here is a snapshot of the result.

Uniform Grid-Features-Children Flow-01