Dela via


ApplicationViewConsolidatedEventArgs.IsUserInitiated Property

Definition

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

public:
 property bool IsUserInitiated { bool get(); };
bool IsUserInitiated();
public bool IsUserInitiated { get; }
var boolean = applicationViewConsolidatedEventArgs.isUserInitiated;
Public ReadOnly Property IsUserInitiated As Boolean

Property Value

Boolean

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

Applies to