多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

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
答案解析:
进入题库查看解析

微信扫一扫手机做题