ApplicationView.TryUnsnap ApplicationView.TryUnsnap ApplicationView.TryUnsnap ApplicationView.TryUnsnap ApplicationView.TryUnsnap Method

Definition

Note

TryUnsnap may be altered or unavailable for releases after Windows 8.1. Apps can be continuously resized, but cannot be snapped, starting in Windows 8.1. Also, ApplicationView static methods may be altered or unavailable for releases after Windows 8.1. Use ApplicationView.GetForCurrentView to get an ApplicationView object.

Attempts to unsnap a previously snapped app. This call will only succeed when the app is running in the foreground.

public : static Platform::Boolean TryUnsnap()
static bool TryUnsnap() const;
public static bool TryUnsnap()
Public Shared Function TryUnsnap() As bool
var bool = Windows.UI.ViewManagement.ApplicationView.tryUnsnap();

Returns

bool bool bool

true if the app has been successfully unsnapped; false if the unsnap attempt failed.

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.

See also