Intersoft ClientUI Documentation
Paragraph Class
Members 



A block-level flow content element used to group content into a paragraph.
Object Model
Paragraph ClassBorderStyle ClassInlineCollection ClassInline Class
Syntax
<ContentPropertyAttribute("Inlines")>
<TypeConverterAttribute("Intersoft.Client.Documents.ParagraphConverter, Intersoft.Client.Documents, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")>
Public Class Paragraph 
   Inherits Block
Dim instance As Paragraph
[ContentPropertyAttribute("Inlines")]
[TypeConverterAttribute("Intersoft.Client.Documents.ParagraphConverter, Intersoft.Client.Documents, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")]
public class Paragraph : Block 
[ContentPropertyAttribute("Inlines")]
[TypeConverterAttribute("Intersoft.Client.Documents.ParagraphConverter, Intersoft.Client.Documents, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")]
public ref class Paragraph : public Block 
Remarks

Paragraph is typically used to group content into a paragraph. Paragraph can only contain Inline elements. The simplest and most common use of Paragraph is to create a paragraph of text. Paragraph is used in a similar manner to the <P> tag in HTML. You can use TextIndent property to specify text indent in Paragraph element.

XAML
Copy Code
<Intersoft:FlowDocument>
    <Intersoft:Paragraph TextIndent="50" TextAlignment="Justify" Foreground="Brown">
        <Intersoft:Run>
            Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. 
        </Intersoft:Run>
        <Intersoft:Bold>
            <Intersoft:Run>
                Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
            </Intersoft:Run>
        </Intersoft:Bold>
        <Intersoft:Run>
            Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
        </Intersoft:Run>
    </Intersoft:Paragraph>
</Intersoft:FlowDocument>

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      Intersoft.Client.Documents.TextElement
         Intersoft.Client.Documents.Block
            Intersoft.Client.Documents.Paragraph

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Paragraph Members
Intersoft.Client.Documents Namespace

Send Feedback