可学答题网 > 问答 > MCPD(70-511)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You are developing a Windows Presenta


You are developing a Windows Presentation Foundation (WPF) application. An event triggers a workflow such that a parent control executes the event handlers before the child controls. You need to ensure that if a parent controls event handler encounters an error, the subsequent handlers are not called. What should you do?()

  • A Use handlers for a tunneling routed event and mark the event as handled in the case of a problem.
  • B Use handlers for a tunneling routed event and make the event as handled in the finally portion of a try-catch-finally code block.
  • C Use handlers for a bubbling routed event and mark the event as handled in the case of a problem.
  • D Use handlers for a bubbling routed event and set the Handled property of the RoutedEventArgs object to true in the catch portion of a try-catch-finally code block.
参考答案
参考解析:
分类:MCPD(70-511)题库
相关推荐

1、You are developing a Windows Communic

You are developing a Windows Communication Foundation (WCF) service that does not operate on a duplex channel.You find that operations do not s...

2、You are developing a Windows Communic

You are developing a Windows Communication Foundation (WCF) service to provide an in-memory cache for many Web applications.The service contract ...

3、You are developing a Windows Presenta

You are developing a Windows Presentation Foundation (WPF) application to play audio files. You add MediaElement mediaElement1 and a Button contr...

4、You are developing a Windows Presenta

You are developing a Windows Presentation Foundation (WPF) application that displays financial data. The following style is applied to every Labe...

5、You are developing a Windows Presenta

You are developing a Windows Presentation Foundation (WPF) application.You need to display HTML content from a Web Page on the WPF form. What ...

6、You are developing a Windows Presenta

You are developing a Windows Presentation Foundation (WPF) application for a travel reservation systemYou need to ensure that users can select a...