XAML Italic

This article shows how to use XAML Italic element to make italic contents in a WPF document.
  • 3241

XAML Italic is an inline-level flow content element that makes content italic.

Here is XAML syntax for Italic.

<Italic>

    Inlines

</Italic>
 

 Here is a complete example of using a Italic element in XAML.


<FlowDocument >
    <Paragraph>
        <Bold>Bold text</Bold>
    </Paragraph>
    <Paragraph>
        <Underline>Underline text</Underline>
    </Paragraph>
    <Paragraph>
        <Bold>
            <Underline>Bold and underline text</Underline>
        </Bold>
    </Paragraph>
    <Paragraph>
        <Italic>Italic text</Italic>
    </Paragraph>
</FlowDocument>

 

Ask Your Question 
 
Got a programming related question? You may want to post your question here
 

 

© 2020 DotNetHeaven. All rights reserved.