In .Net Framework 3.0. There is one new class is introduced named Text Decoration under the name space System.Windows.
A TextDecoration object is a visual ornamentation you can add to text
There are four types of text decorations: underline, baseline, strikethrough, and overline. The following example shows the locations of the text decorations relative to the text.
Example of text decoration types
The following example shows a text decoration that has been styled with a linear gradient brush and a dashed pen.
Example of an underline styled with a linear gradient brush and dashed pen
Visit more here about Text Decoration class…..