How should you complete the relevant code?

You are developing a page for a Windows Store app.
You have the following requirements for the page:
– Display a button on the bottom app bar that allows the user to insert a picture. This button must bebound to
the Insert command in the view model.
– Display a button in the main content area of the page that allows the user to open documents. This button
must be bound to the Open command in the view model.
You need to ensure that the requirements are met.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct
locations in the answer area. Each code segment maybe used once, more than once, or not at all. You may
need to drag the split bar between panes or scroll to view content.)

You are developing a page for a Windows Store app.
You have the following requirements for the page:
– Display a button on the bottom app bar that allows the user to insert a picture. This button must bebound to
the Insert command in the view model.
– Display a button in the main content area of the page that allows the user to open documents. This button
must be bound to the Open command in the view model.
You need to ensure that the requirements are met.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct
locations in the answer area. Each code segment maybe used once, more than once, or not at all. You may
need to drag the split bar between panes or scroll to view content.)

Answer:

Explanation:



Leave a Reply 3

Your email address will not be published. Required fields are marked *


bidy

bidy

ApplicationCommands.Open does not seem to work for me

F.

F.

The question explicitly says that the commands have to be bound to the open/insert commands in the viewmodel, So 4 & 2.