You are developing a Windows Store app. The app will receive text data that has been shared by using the
Share charm. The app includes a page named ShareTarqetPage that calls the Activate() method.
The XAML portion of the SharerarqetPage page contains a button.
The app has the following requirements:
– When the app is activated by the Share charm, theapp must first display the ShareTargetPaqe page.
– When the user clicks the button, the page must receive the shared text and then save the text by using the
existing WriteData () method.
You need to finish implementing the ShareTarqetPaqepage.
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: