Intersoft.Client.Documents Namespace > Run Class : Text Property |
Run is used to contain unformatted text. By default, Silverlight will trim the space in front and end of the inline content. If you have multiple Inline elements and specify the content as inline content, the space at the beginning and ending of the content will be removed. This could cause the sentences to be combined without space. In this case, it is recommended that you use Text property to specify the content. If there are long words that does not fit in the available space, the word will be splitted and continued to the next line.
XAML |
Copy Code
|
---|---|
<Intersoft:FlowDocument> <Intersoft:Paragraph> <Intersoft:Run Text="Lorem ipsum dolor sit amet, "/> <Intersoft:Italic> <Intersoft:Run Text="consectetur adipisicing elit, "/> </Intersoft:Italic> <Intersoft:Run Text="sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."/> </Intersoft:Paragraph> </Intersoft:FlowDocument> |
Note that when FlowDocument is in page mode and the textual content is rendered in the page intersection, the whole line will be shifted to the next page.
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