Microsoft
70-511 · Question #78
70-511 Question #78: Real Exam Question with Answer & Explanation
Sign in or unlock 70-511 to reveal the answer and full explanation for question #78. The question stem and answer options stay visible for context.
Question
You are developing a Windows Presentation Foundation (WPF) application. You are writing data templates for a calendar. You must use the Weekend template for weekends and the Weekday template for weekdays. The Window markup is as follows. (Line numbers are included for reference only.) You need to ensure that the Weekend and Weekday templates are applied correctly to the ListBox control. Which markup segment should you insert at line 11?
Exhibit
Options
- A<ListBox ItemTemplateSelector="{Binding WeekendSelector}"/>
- B<ListBox ItemTemplate="{StaticResource WeekendSelector} "/>
- C<ListBox ItemTemplate=" {Binding WeekendSelector} "/>
- D<ListBox ItemTemplateSelector=" {StaticResource WeekendSelector}"/>
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.
