Microsoft
70-511 · Question #45
70-511 Question #45: Real Exam Question with Answer & Explanation
Sign in or unlock 70-511 to reveal the answer and full explanation for question #45. The question stem and answer options stay visible for context.
Question
You are developing a Windows Presentation Foundation (WPF) application that displays pricing and inventory Information. A list box's ItemsSource property has decimal and string types. Decimals represent price and strings represent messages such as "Discontinued" The following markup is defined as follows. (Line numbers are included for reference only.) You need to ensure that data templates are used to format the strings without changes and the decimals as currency. Which markup segment should you insert at line 05?
Exhibit
Options
- A<DataTemplate x:Key="clr:String">
- B<DataTemplate x:Key "String" Template-"clr :String"> <TextBlock
- C<DataTemplate x:Key="Scring" Template="clr:String">
- D<DataTemplate DataType="(x: Type clr:String)">
- E<DataTemplate DataType="clr:String"> <TextBlock
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.
