CompositionTarget.SurfaceContentsLost CompositionTarget.SurfaceContentsLost CompositionTarget.SurfaceContentsLost CompositionTarget.SurfaceContentsLost Event

Definition

Occurs when an underlying major change occurs, such as a DirectX device change. Typically the application must regenerate its surface contents when notified of this event.

public : event EventHandler SurfaceContentsLost<Platform::Object>
// Register
event_token SurfaceContentsLost(EventHandler<Platform::Object> const& handler) const;

// Revoke with event_token
void SurfaceContentsLost(event_token const& cookie) const;

// Revoke with event_revoker
SurfaceContentsLost_revoker SurfaceContentsLost(auto_revoker_t, EventHandler<Platform::Object> const& handler) const;
public event EventHandler SurfaceContentsLost<object>
Public Event EventHandler SurfaceContentsLost(Of object)