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<Platform::Object> SurfaceContentsLost
// 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_revoke_t, EventHandler<Platform::Object> const& handler) const;
public event EventHandler<object> SurfaceContentsLost
Public Event SurfaceContentsLost As EventHandler (Of object)