Application​View​Consolidated​Event​Args Application​View​Consolidated​Event​Args Application​View​Consolidated​Event​Args 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
Attributes
Windows 10 requirements
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

Gets a value that indicates whether the window consolidation was app-initiated.

public bool IsAppInitiated { get; }public bool IsAppInitiated { get; }Public ReadOnly Property IsAppInitiated As bool
Value
bool bool bool

true if the window consolidation operation was app-initiated; otherwise false.

Attributes

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

Gets a value that indicates whether the window consolidation was user-initiated.

public bool IsUserInitiated { get; }public bool IsUserInitiated { get; }Public ReadOnly Property IsUserInitiated As bool
Value
bool bool bool

true if the window consolidation operation was user-initiated; otherwise, false.

Attributes

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 ).