Section Font Style : Font « Windows Presentation Foundation « VB.Net






Section Font Style

Section Font Style
      
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      HorizontalAlignment="Center" VerticalAlignment="Center">

<FlowDocumentPageViewer>
  <FlowDocument>
    <Section FontStyle="Italic">
      <Paragraph>
        Section FontStyle property is set to Italic.    
      </Paragraph>
      <Paragraph FontWeight="Bold">
        Bold section.
      </Paragraph>
    </Section>
  </FlowDocument>
</FlowDocumentPageViewer>

</Page>

   
    
    
    
    
    
  








Related examples in the same category

1.FontSize unitsFontSize units
2.Change a Control's Font Weight on Mouse OverChange a Control's Font Weight on Mouse Over
3.Display Simple Text with TextBlock and set font, alignmentDisplay Simple Text with TextBlock and set font, alignment
4.Adding TextBlock to StackPanel with different font sizeAdding TextBlock to StackPanel with different font size
5.Using text format property aliases
6.Programmatically change the FontFamily property of a TextBlock element.Programmatically change the FontFamily property of a TextBlock element.
7.Font Properties SampleFont Properties Sample