ApplicationViewConsolidatedEventArgs
ApplicationViewConsolidatedEventArgs
ApplicationViewConsolidatedEventArgs
ApplicationViewConsolidatedEventArgs
Class
Definition
Contains the results of a window (app view) consolidation operation.
public : sealed class ApplicationViewConsolidatedEventArgs : IApplicationViewConsolidatedEventArgs, IApplicationViewConsolidatedEventArgs2public sealed class ApplicationViewConsolidatedEventArgs : IApplicationViewConsolidatedEventArgs, IApplicationViewConsolidatedEventArgs2Public NotInheritable Class ApplicationViewConsolidatedEventArgs Implements IApplicationViewConsolidatedEventArgs, IApplicationViewConsolidatedEventArgs2// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Your app receives this class in its Consolidated event handler.
Note
: This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX).
Properties
IsAppInitiated IsAppInitiated IsAppInitiated IsAppInitiated
Gets a value that indicates whether the window consolidation was app-initiated.
public : PlatForm::Boolean IsAppInitiated { get; }public bool IsAppInitiated { get; }Public ReadOnly Property IsAppInitiated As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if the window consolidation operation was app-initiated; otherwise false.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Remarks
This property is true if the window consolidation was due to a call to ApplicationView.TryConsolidateAsync. Otherwise, window consolidation could be system-initiated or user-initiated.
IsUserInitiated IsUserInitiated IsUserInitiated IsUserInitiated
Gets a value that indicates whether the window consolidation was user-initiated.
public : PlatForm::Boolean IsUserInitiated { get; }public bool IsUserInitiated { get; }Public ReadOnly Property IsUserInitiated As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if the window consolidation operation was user-initiated; otherwise, false.
Remarks
This property is true if the window consolidation was due to the user performing a close gesture. Otherwise, windows consolidation could be system-initiated or app-initiated (by a call to ApplicationView.TryConsolidateAsync ).