Reputation: 161
I'm add Share Target to my UWP application. I have system back button in the top of this share view. And also I have two page. How can I override this back button to navigate back? Now it close share by my application.
And can I hide this panel or change style?
Best regards, Dmitriy
Upvotes: 3
Views: 181
Reputation: 724
You can't override that behavior. As max you can subscribe to below events so that you will be notified when user taps on BACK button on share target window
Window.Current.Closed += Current_Closed;
Window.Current.VisibilityChanged += Current_VisibilityChanged;
Upvotes: 1
Reputation: 1088
You can't do that. Also you are not supposed to have multiple pages for sharing. Sharing expirience is consider to be as simple as possible.
Upvotes: 1