&tag(WPF/TextBlock);
*目次 [#g6203e28]
#contents
*参考情報 [#m09e4969]

*Tips [#m2adf852]
**垂直方向に中央揃えする [#n27d4e87]
[[Text vertical alignment in WPF TextBlock - Stack Overflow:http://stackoverflow.com/questions/1491649/text-vertical-alignment-in-wpf-textblock]]より、うまくいかないのでBorderで囲って中にTextBlockを配置するといいらしい。
#pre{{
<Border BorderBrush="{x:Null}" Height="50">
    <TextBlock Text="Some Text" VerticalAlignment="Center"/>
</Border>
}}



トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS