Click or drag to resize
CanvasDeviceDeviceLost Event
Subscribe to this event to be notified whenever the device ceases to be operational.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public event TypedEventHandler<CanvasDevice, Object> DeviceLost

Value

Type: Windows.FoundationTypedEventHandlerCanvasDevice, Object
Remarks

Any handlers subscribed to this event will be issued whenever RaiseDeviceLost is called.

An implementation of this handler is expected to re-create the device, and any device-dependent resources.

For more information, see Handling device lost.

See Also