试题详情
单项选择题 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 />

  • D
  • 关注下方微信公众号,在线模考后查看

热门试题