Which XAML fragment should you use?

You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework 3.5.
The application will display a flow document.
You need to add a graphic and its associated descriptive text in the flow document so that the following requirements are met:
* The graphic and the descriptive text appear as a sidebar at the beginning of the document.
* The exact placement of the sidebar is not critical.
* The existing document text flows around the graphic and descriptive text.
* The descriptive text is not truncated.
Which XAML fragment should you use?

You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework 3.5.
The application will display a flow document.
You need to add a graphic and its associated descriptive text in the flow document so that the following requirements are met:
* The graphic and the descriptive text appear as a sidebar at the beginning of the document.
* The exact placement of the sidebar is not critical.
* The existing document text flows around the graphic and descriptive text.
* The descriptive text is not truncated.
Which XAML fragment should you use?

A.
<Paragraph>
<Image Source="NancyAnderson.jpg" Width="150" />
"Education includes a BA in psychology from Colorado State University in 1970.
She also completed ‘The Art of the Cold Call.’ Nancy is a member of Toastmasters International."
</Paragraph>

B.
<Floater Width="200">
<BlockUIContainer>
<Image Source="NancyAnderson.jpg" Width="150" />
</BlockUIContainer>
<Paragraph>
"Education includes a BA in psychology from Colorado State University in 1970.
She also completed ‘The Art of the Cold Call.’ Nancy is a member of Toastmasters International."
</Paragraph>
</Floater>

C.
<Figure Width="200">
<BlockUIContainer>
<Image Source="NancyAnderson.jpg" Width="150" />
</BlockUIContainer>
<Paragraph>
"Education includes a BA in psychology from Colorado State University in 1970.
She also completed ‘The Art of the Cold Call.’ Nancy is a member of Toastmasters International."
</Paragraph>
</Figure>

D.
<Section>
<BlockUIContainer>
<Image Source="NancyAnderson.jpg" Width="150" />
</BlockUIContainer>
<Paragraph>
"Education includes a BA in psychology from Colorado State University in 1970.
She also completed ‘The Art of the Cold Call.’ Nancy is a member of Toastmasters International."
</Paragraph>
</Section>



Leave a Reply 0

Your email address will not be published. Required fields are marked *