Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Add Run of text to a Paragraph

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"   Title=""    Height="300"    Width="300">   <Grid>     <FlowDocumentReader>       <FlowDocument>         <Paragraph>           <Run>This is a simple run of text inside a paragraph.</Run>           <Run>This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. </Run>         </Paragraph>       </FlowDocument>     </FlowDocumentReader>         </Grid> </Window>