I have a Xaml/C# Windows 8.1 app that creates a secondary window using CoreApplication.CreateNewView() and ApplicationViewSwitcher.TryShowAsStandaloneAsync()
In the OnNavigatedTo() override for the new page, I am calling
PlayToManager.GetForCurrentView().SourceRequested += this.OnSourceRequested
But I am finding that when the secondary view is active, the OnSourceRequested never gets called.
If I call add the event handler for
PlayToManager.GetForCurrentView().SourceRequested += this.OnSourceRequested
To my primary view, it does get called.
- Is there anything that I must do to enable new windows for my app to support Play-To source requests?
- Is this a limitation of the platform or is it a bug?
Thanks,
Michael
Michael S. Scherotter
Principal Architect Evangelist Microsoft Corporation,
Blog,
Twitter, Facebook