找考题网-背景图
单项选择题

A. B.

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?()



A. <TextBlock Text="{Binding}" />
B. <TextBlock Text="{TemplateBinding Content}" />
C. <ContentPresenter Content="{Binding}" />
D. <ContentPresenter />

热门试题