Кисть TextBlock дает неправильный цвет

У меня есть TextBlock и Rectangle, оба находятся в пустом окне WPF4. Передний план TextBlock и заливка Rectangle установлены на SolidColorBrush со значением # 80800000.

Вот как это выглядит:

enter image description here

Цвет Rectangle правильный (50% прозрачный бордовый), но TextBlock дает плоский серый . Что происходит?

РЕДАКТИРОВАТЬ: Вот XAML:

<Window x:Class="WpfApplication1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <TextBlock Foreground="#80800000" Height="100" HorizontalAlignment="Left" Margin="47,39,0,0" Text="TextBlock" VerticalAlignment="Top" Width="266" FontFamily="Arial" FontWeight="Bold" FontSize="56" />
        <Rectangle Fill="#80800000" Height="100" HorizontalAlignment="Left" Margin="71,174,0,0" Stroke="{x:Null}" VerticalAlignment="Top" Width="200" />
    </Grid>
</Window>
6
задан user773942 7 July 2011 в 04:26
поделиться