RowDefinition class

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 16:30

Description

Defines grid rows.

In case of a navigator, they are typically:

The search criteria zone, defined in by Expander

The results zone, defined by ShellResultView

The command zone, defined by StyleTabStrip

The (optional) property editing zone, defined by Expander

The first row index number is 0.

Members

Height

Example

<Grid.RowDefinitions>

  <RowDefinition Height="Auto"/>

  <RowDefinition Height="*"/>

  <RowDefinition Height="Auto"/>

  <RowDefinition Height="Auto"/>

  <RowDefinition Height="Auto"/>

</Grid.RowDefinitions>

Another example of Grid.RowDefinition:

<Grid.RowDefinitions>

  <RowDefinition Height="3*"/>

  <RowDefinition Height="*"/>

</Grid.RowDefinitions>

Short explanation of Height values

Height="Auto": adjust to content; if no content, than disappear

Height="*": all remaining space

Height="3*": three parts of the remaining space; it assumes that there's another line with Height="*", to take the 4th part.