Wie fügt man einfach eine Zellenfüllung für ein Grid in Silverlight hinzu? Die Ränder für jede Zelle einzustellen, sieht sehr laut aus.Silverlight (3.0): Wie fügt man Zellenabstand zu einem Raster hinzu?
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Text="Type:" Grid.Column="0" Grid.Row="0"></TextBlock>
<ComboBox Grid.Column="1" Grid.Row="0"></ComboBox>
<TextBlock Text="Length:" Grid.Column="0" Grid.Row="1" ></TextBlock>
<TextBox Grid.Column="1" Grid.Row="1"></TextBlock>
Ich sage kaum, dass das Hinzufügen von Margin zu jeder Zelle "sehr laut" war. – AnthonyWJones