Microsoft
70-511 · Question #150
70-511 Question #150: Real Exam Question with Answer & Explanation
Sign in or unlock 70-511 to reveal the answer and full explanation for question #150. The question stem and answer options stay visible for context.
Question
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains an ObservableCollection object named Pictures that contains several Picture objects. Each Picture object contains the Name and PictureFilePath properties. You add a ListBox control to the application. You need to ensure that the pictures are displayed in the ListBox control. Which code fragment should you use?
Options
- A<ListBox ItemsSource="{Binding Source={StaticResource pictures}}">
- B<ListBox ItemsSource="{Binding Source={StaticResource pictures}}">
- C<ListBox ItemsSource="{Binding Source={StaticResource pictures}>">
- D<ListBox ItemsSource="{Binding Source={StaticResource pictures))">
Unlock 70-511 to see the answer
You've previewed enough free 70-511 questions. Unlock 70-511 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.