Skip to content

Commit b35a643

Browse files
Merge pull request #2388 from JaiganeshKumaran/patch-1
Explain the hiding behaviour of ApplicationView.TryConsolidateAsync
2 parents c536184 + eef85d6 commit b35a643

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

windows.ui.viewmanagement/applicationview_tryconsolidateasync_451004985.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ public IAsyncOperation<bool> ApplicationView.TryConsolidateAsync()
1212

1313
## -description
1414

15-
Tries to close the current app view. This method is a programmatic equivalent to a user initiating a close gesture for the app view.
15+
Tries to hide the current app view. This method is a programmatic equivalent to a user closing the app.
1616

1717
## -returns
1818

1919
**true** if the app views are consolidated; otherwise, **false**.
2020

2121
## -remarks
2222

23+
Consolidating an app view doesn't close it but rather hides it from the Windows shell, whether the user closed the app or this method is called programmatically. It can still be shown programmatically by the app using the various methods of [ApplicationViewSwitcher](/uwp/api/windows.ui.viewmanagement.applicationviewswitcher). To close the app view permanently, call [CoreWindow.Close](/uwp/api/windows.ui.core.corewindow.close).
24+
2325
## -see-also
2426

2527
## -examples

0 commit comments

Comments
 (0)