Intersoft ClientUI Documentation
Underline Class
Members  See Also  Send Feedback
Intersoft.Client.Documents Namespace : Underline Class






An inline-level flow content element which causes content to render with an underlined text decoration.

Object Model

Underline Class

Syntax

Visual Basic (Declaration) 
Public Class Underline 
   Inherits Span
Visual Basic (Usage)Copy Code
Dim instance As Underline
C# 
public class Underline : Span 
Delphi 
public class Underline = class(Span)
JScript 
public class Underline extends Span
Managed Extensions for C++ 
public __gc class Underline : public Span 
C++/CLI 
public ref class Underline : public Span 

Remarks

Underline element automatically set its content to render with an italic font style. Instead of using Span with TextDecorations property specified, you can simply use Underline element. Since Underlineis inherited from Span, it can also contain multiple Inline elements.

XAML Copy Code
<Intersoft:FlowDocument>
    <Intersoft:Paragraph>
        <Intersoft:Underline>
            <Intersoft:Run>
                Hello World!
            </Intersoft:Run>
        </Intersoft:Underline>
    </Intersoft:Paragraph>
</Intersoft:FlowDocument>

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      Intersoft.Client.Documents.TextElement
         Intersoft.Client.Documents.Inline
            Intersoft.Client.Documents.Span
               Intersoft.Client.Documents.Underline

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.