ApplicationView.GetForCurrentView ApplicationView.GetForCurrentView ApplicationView.GetForCurrentView ApplicationView.GetForCurrentView ApplicationView.GetForCurrentView Method

Definition

Gets the view state and behavior settings of the active application.

public : static ApplicationView GetForCurrentView()
static ApplicationView GetForCurrentView() const;
public static ApplicationView GetForCurrentView()
Public Shared Function GetForCurrentView() As ApplicationView
var applicationView = Windows.UI.ViewManagement.ApplicationView.getForCurrentView();

Returns

An ApplicationView instance that can be used to get and set app display properties.

Remarks

This is a static member of the ApplicationView class. For JavaScript this means that it is a method of the ApplicationView class, not of the window object that getForCurrentView creates.