Microsoft
70-511 · Question #16
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment. (Line numbers are included for reference only.) You need to…
The correct answer is D. <ContentPresentec />. See the full explanation below for the reasoning.
Question
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment. (Line numbers are included for reference only.) You need to ensure that both Button controls display the "Save" text. Which code fragment should you insert at line 06?
Exhibit
Options
- A<TextBlock Text="{Binding}" />
- B<TextBlock Text="{TemplateBinding Content}" />
- C<ContentPresentec Content="{Binding}" />
- D<ContentPresentec />
How the community answered
(42 responses)- A5% (2)
- B2% (1)
- C12% (5)
- D81% (34)
Community Discussion
No community discussion yet for this question.
