nerdexam
Microsoft

70-511 · Question #230

70-511 Question #230: Real Exam Question with Answer & Explanation

The correct answer is D. Use a StackPanel control to organize the groups with its Orientation property set to Vertical.. See the full explanation below for the reasoning.

Question

You are developing a Windows Presentation Foundation (WPF) application. The application consists of: - A window that contains controls organized into groups. - Groups that are ordered vertically and that have individual headings. - Controls within the groups that are ordered horizontally. - Groups and controls that will be added dynamically at run time. You need to ensure that the application meets the following requirements: - The window must be resizable without affecting the layout of the controls. - The controls within the groups must be laid out such that there is a minimum amount of spacing between groups. What should you do?

Options

  • AUse a WrapPanel control to organize the groups with its Orientation property set to Vertical.
  • BUse a Grid control with its VerticalAlignment property set to Stretch to organize the groups
  • CUse a ListBox control to organize the groups.
  • DUse a StackPanel control to organize the groups with its Orientation property set to Vertical.

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice