ProtocolActivatedEventArgs.ViewSwitcher Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the view switcher object that allows you to set the view for the application.
public:
property ActivationViewSwitcher ^ ViewSwitcher { ActivationViewSwitcher ^ get(); };
ActivationViewSwitcher ViewSwitcher();
public ActivationViewSwitcher ViewSwitcher { get; }
var activationViewSwitcher = protocolActivatedEventArgs.viewSwitcher;
Public ReadOnly Property ViewSwitcher As ActivationViewSwitcher
Property Value
Use the ActivationViewSwitcher to show or switch the view in response to the activation. The value will be null in hosted scenarios such as Share and File Picker activations.