DeviceActivatedEventArgs.ViewSwitcher DeviceActivatedEventArgs.ViewSwitcher DeviceActivatedEventArgs.ViewSwitcher DeviceActivatedEventArgs.ViewSwitcher DeviceActivatedEventArgs.ViewSwitcher Property

Definition

Gets the view switcher object that allows you to set the view for the application.

public : ActivationViewSwitcher ViewSwitcher { get; }
ActivationViewSwitcher ViewSwitcher();
public ActivationViewSwitcher ViewSwitcher { get; }
Public ReadOnly Property ViewSwitcher As ActivationViewSwitcher
var activationViewSwitcher = deviceActivatedEventArgs.viewSwitcher;

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.