IViewSwitcherProvider IViewSwitcherProvider IViewSwitcherProvider IViewSwitcherProvider IViewSwitcherProvider Interface


Provides the object that allows you to set the view for the application.

public : interface IViewSwitcherProvider : IActivatedEventArgs
struct winrt::Windows::ApplicationModel::Activation::IViewSwitcherProvider : IActivatedEventArgs
public interface IViewSwitcherProvider : IActivatedEventArgs
Public Interface IViewSwitcherProvider Implements IActivatedEventArgs
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Kind Kind Kind Kind Kind

Gets the reason that this app is being activated.

(Inherited from IActivatedEventArgs)
PreviousExecutionState PreviousExecutionState PreviousExecutionState PreviousExecutionState PreviousExecutionState

Gets the execution state of the app before this activation.

(Inherited from IActivatedEventArgs)
SplashScreen SplashScreen SplashScreen SplashScreen SplashScreen

Gets the splash screen object that provides information about the transition from the splash screen to the activated app.

(Inherited from IActivatedEventArgs)
ViewSwitcher ViewSwitcher ViewSwitcher ViewSwitcher ViewSwitcher

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

See also