ClaimedLineDisplay.Closed Event

Definition

Event that is raised when the ClaimedLineDisplay is closed.

// Register
event_token Closed(TypedEventHandler<ClaimedLineDisplay, ClaimedLineDisplayClosedEventArgs const &> const& handler) const;

// Revoke with event_token
void Closed(event_token const* cookie) const;

// Revoke with event_revoker
Closed_revoker Closed(auto_revoke_t, TypedEventHandler<ClaimedLineDisplay, ClaimedLineDisplayClosedEventArgs const &> const& handler) const;
public event TypedEventHandler<ClaimedLineDisplay,ClaimedLineDisplayClosedEventArgs> Closed;
function onClosed(eventArgs) { /* Your code */ }
claimedLineDisplay.addEventListener("closed", onClosed);
claimedLineDisplay.removeEventListener("closed", onClosed);
- or -
claimedLineDisplay.onclosed = onClosed;
Public Custom Event Closed As TypedEventHandler(Of ClaimedLineDisplay, ClaimedLineDisplayClosedEventArgs) 

Event Type

TypedEventHandler<ClaimedLineDisplay,ClaimedLineDisplayClosedEventArgs>

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Remarks

When an app is suspended, all ClaimedLineDisplay objects are closed. This event can be useful to determine when line display connections need to be re-established.

Applies to

See also