PrepAway - Latest Free Exam Questions & Answers

Which control should you use?

You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework 3.5.
You create a window in the application. You plan to select a layout control to host the elements that you add to the window.
You need to select a control that meets the following requirements with its default properties:
1. The elements stretch horizontally to occupy the available width of the window.
2. The elements do not stretch vertically.
Which control should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
The Grid control

B.
The Canvas control

C.
The WrapPanel control

D.
The StackPanel control


Leave a Reply