Windows Phone 7アプリケーションを開発しています。
ListBoxItem 内のテキストブロックを垂直方向に中央揃えにしたい。ここに私のXAMLコードがあります:
<ListBoxItem x:Name="SingleGameItem" Height="79" Margin="10,5">
<TextBlock HorizontalAlignment="Center" Height="31" Margin="5" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Center" Width="431" TextAlignment="Center"/>
</ListBoxItem>
どうやってやるの?