Kelompok tombol WPF XAML
<Grid x:Name="myGrid">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="33*"/>
<ColumnDefinition Width="33*"/>
<ColumnDefinition Width="33*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="33*"/>
<RowDefinition Height="33*"/>
<RowDefinition Height="33*"/>
</Grid.RowDefinitions>
<Button Content="1" Grid.Row="0" Grid.Column="0" ></Button>
<Button Content="2" Grid.Row="0" Grid.Column="1" ></Button>
<Button Content="3" Grid.Row="0" Grid.Column="2" ></Button>
<Button Content="4" Grid.Row="1" Grid.Column="0" ></Button>
<Button Content="5" Grid.Row="1" Grid.Column="1" ></Button>
<Button Content="6" Grid.Row="1" Grid.Column="2" ></Button>
<Button Content="7" Grid.Row="2" Grid.Column="0" ></Button>
<Button Content="8" Grid.Row="2" Grid.Column="1" ></Button>
<Button Content="9" Grid.Row="2" Grid.Column="2" ></Button>
</Grid>
Shy Seahorse