nerdexam
Microsoft

70-518 · Question #46

You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4. You plan to create a wizard by using a Window, a Frame, and several Page objects. The…

The correct answer is A. In the button Onclick event, remove the previous wizard page from the journal. See the full explanation below for the reasoning.

Question

You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4. You plan to create a wizard by using a Window, a Frame, and several Page objects. The wizard will use the NavigationService. The NavigationService will be invoked by buttons on the user interface (UI). You need to ensure that prior-page navigation can be disabled. What should you do?

Options

  • AIn the button Onclick event, remove the previous wizard page from the journal.
  • BIn the button Onclick event, remove the previous wizard page from the Window.
  • CIn the button OnMouseDown event, remove the previous wizard page from the Frame.
  • DIn the button OnMouseDown event, remove the previous wizard page from the Window.

How the community answered

(32 responses)
  • A
    78% (25)
  • B
    3% (1)
  • C
    13% (4)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 70-518 Practice