ApplicationViewConsolidatedEventArgs ApplicationViewConsolidatedEventArgs ApplicationViewConsolidatedEventArgs ApplicationViewConsolidatedEventArgs Class

Contains the results of a window (app view) consolidation operation.

Syntax

Declaration

public sealed class ApplicationViewConsolidatedEventArgspublic sealed class ApplicationViewConsolidatedEventArgsPublic NotInheritable Class ApplicationViewConsolidatedEventArgspublic sealed class ApplicationViewConsolidatedEventArgs

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 summary

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

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

Properties

  • IsAppInitiated
    IsAppInitiated
    IsAppInitiated
    IsAppInitiated

    Prerelease. 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 boolpublic bool IsAppInitiated { get; }

    Property Value

    • bool
      bool
      bool
      bool

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

    Remarks

    This property is true if the window consolidation was due to a call to 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 bool IsUserInitiated { get; }public bool IsUserInitiated { get; }Public ReadOnly Property IsUserInitiated As boolpublic bool IsUserInitiated { get; }

    Property Value

    • bool
      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 TryConsolidateAsync() ).

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Details

Assembly

Windows.UI.ViewManagement.dll