Nope. A grid is just one of several types of panels that are designed to place their children in detail. Nets are widely used in many different and often nested ways. They are lightweight and, therefore, do not carry loads of luggage that may or may not be used, for example, in this set of properties to define boundaries on “cells”.
To create a border for each cell, just use the control Border:
<Grid>
<Grid.Resources>
<Style x:Key="borderStyle" TargetType="Border">
<Setter Property="BorderBrush" Value="Black" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Padding" Value="2" />
</Style>
</Grid.Resources>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Border Style="{StaticResource borderStyle}" Grid.Row="0" Grid.Column="0">
</Border>
<Border Style="{StaticResource borderStyle}" Grid.Row="0" Grid.Column="1">
</Border>
<Border Style="{StaticResource borderStyle}" Grid.Row="1" Grid.Column="0">
</Border>
<Border Style="{StaticResource borderStyle}" Grid.Row="1" Grid.Column="1">
</Border>
</Grid>
source
share