Text decorations: Strikethrough : TextBlock Style « Windows Presentation Foundation « VB.Net Tutorial






<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      HorizontalAlignment="Center" VerticalAlignment="Center"
      TextElement.FontFamily="Palatino Linotype">

    <TextBlock  FontSize="1cm" TextWrapping="Wrap" TextAlignment="Center">
      <Span TextDecorations="Strikethrough">Strikethrough</Span>,
    </TextBlock>

</Window>
WPF Text Decorations Strikethrough








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