Text Drop Shadow

image_pdfimage_print


   
     

<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid.Resources>
        <Style TargetType="{x:Type TextBlock}">
            <Setter Property="Text" Value="Drop-Shadow" />
            <Setter Property="FontFamily" Value="Times New Roman Bold" />
            <Setter Property="FontSize" Value="96" />
            <Setter Property="HorizontalAlignment" Value="Center" />
            <Setter Property="VerticalAlignment" Value="Center" />
        </Style>
    </Grid.Resources>
    <TextBlock Opacity="0.5" RenderTransform="1 0 0 1 5 5" />
    <TextBlock />
</Grid>