Apply Blur Effects on UI Element TextBlock : TextBlock Style « Windows Presentation Foundation « VB.Net Tutorial






<Window x:Class="WpfApplication1.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="WPF" Height="300" Width="300">
    <UniformGrid Columns="3" Rows="4">
        <TextBlock Text="A TextBlock" FontSize="16"
                   HorizontalAlignment="Center" VerticalAlignment="Center" />
        <TextBlock Text="A TextBlock"  FontSize="16"
                   HorizontalAlignment="Center" VerticalAlignment="Center">
            <TextBlock.BitmapEffect>
                <BlurBitmapEffect Radius="1" KernelType="Gaussian"/>                
            </TextBlock.BitmapEffect>
        </TextBlock>

    </UniformGrid>
</Window>
WPF Apply Blur Effects On U I Element Text Block








16.2.TextBlock Style
16.2.1.Text decorations: underlineText decorations: underline
16.2.2.Text decorations: BaselineText decorations: Baseline
16.2.3.Text decorations: StrikethroughText decorations: Strikethrough
16.2.4.Text decorations: OverlineText decorations: Overline
16.2.5.Text decorations: more than one stylesText decorations: more than one styles
16.2.6.Apply Blur Effects on UI Element TextBlockApply Blur Effects on UI Element TextBlock
16.2.7.Apply a Glow Effect to Your UI Element TextBlockApply a Glow Effect to Your UI Element TextBlock