Apply a Glow Effect to Your 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="230" Width="500">
    <Canvas Margin="10">
        <TextBlock Text="A TextBlock with Noise" FontSize="16">
            <TextBlock.BitmapEffect>
                <OuterGlowBitmapEffect Noise="0.5" GlowColor="Red" GlowSize="25" />                
            </TextBlock.BitmapEffect>
        </TextBlock>

    </Canvas>
</Window>
WPF Apply A Glow Effect To Your 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