<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="SDKSample.Window1" Title="Text Shadow Samples"
Background="FloralWhite">
<StackPanel>
<TextBlock FontSize="64" Text="asdf" Foreground="Yellow">
<TextBlock.BitmapEffect>
<BitmapEffectGroup>
<DropShadowBitmapEffect ShadowDepth="5" Direction="330" Color="Orange"
Opacity="0.75"
Softness="0.50" />
<DropShadowBitmapEffect
ShadowDepth="2"
Direction="330"
Color="Red"
Opacity="0.5"
Softness="0.0" />
</BitmapEffectGroup>
</TextBlock.BitmapEffect>
</TextBlock>
</StackPanel>
</Window>
|