Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<Grid> <Grid.RowDefinitions> oneOrMoreRowDefinitions </Grid.RowDefinitions> </Grid>
If a child element is added to a row within a Grid and the row has its Height property set to Auto, the child will be measured without restrictions. This behavior can prevent vertical scroll bars from displaying if a ScrollViewer is being used, as the child element is measured as unbounded. For purposes of display, the child is clipped instead of scrolled.
When setting this property in XAML, do not include an explicit RowDefinitionCollection object element. Instead, use implicit collection syntax. For more information, see the Remarks section in RowDefinitionCollection.
By default, a grid contains one row and one column.
The following example creates a Grid with three rows. The Height of the first row is set to the value Auto, which distributes height evenly based on the size of the content that is within that row. The height of the second row and third row are set to 2* and * respectively. The second row gets 2/3 of the remaining space and the third row gets 1/3.