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

微软认证考试

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

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment. You need to ensure that the StringMember property of the data-bound object is updated immediately when the user types the TextBox control. Which binding expression should you use?()

  • A、 { Binding Path=StringMember, Mode=TwoWay }
  • B、 { Binding Path=StringMember, NotifyOnSourceUpdated=True }
  • C、 { Binding Path=StringMember, NotifyOnTargetUpdated=True }
  • D、 { Binding Path=StringMember, UpdateSourceTrigger=PropertyChanged }
正确答案:D
答案解析:
进入题库查看解析

微信扫一扫手机做题