Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Add Bold line to 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>           <Bold>This is a line of bold text inside another paragraph.</Bold>           <Bold>This is another line of bold text inside another paragraph.</Bold>         </Paragraph>       </FlowDocument>     </FlowDocumentReader>         </Grid> </Window>