Grid

A flexible grid area consisting of columns and rows used for placing other controls.


Defines a flexible grid area consisting of columns and rows.


<Grid Height="Auto" 
       VerticalAlignment="Stretch"
       HorizontalAlignment="Stretch" >

<Grid.ColumnDefinitions>
   < ColumnDefinition Width="*" />
</Grid.ColumnDefinitions >

<Grid.RowDefinitions>
   < RowDefinition Height="60" />
   < RowDefinition Height="50" />
   < RowDefinition Height="*" />
</Grid.RowDefinitions>

<Border />

<Grid.Background>
   < ImageBrush ImageSource="image.png" />
</Grid.Background>

</Grid >





© 2017 Better Solutions Limited. All Rights Reserved. © 2017 Better Solutions Limited

PrevNext