XAML Bold

This article shows how to use XAML Underline element.
  • 2828
XAML Underline is an inline-level flow content element that makes contents underline.

Here is XAML syntax for Underline.

<Underline>

    Inlines

</Underline>
 

Here is a complete example of using a Underline 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
 

 

© 2019 DotNetHeaven. All rights reserved.