Click or drag to resize
ICanvasAnimatedControlGameLoopStopped Event
Occurs on the game loop thread just after the game loop stops.

Namespace:  Microsoft.Graphics.Canvas.UI.Xaml
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
event TypedEventHandler<ICanvasAnimatedControl, Object> GameLoopStopped

Value

Type: Windows.FoundationTypedEventHandlerICanvasAnimatedControl, Object
Remarks

This event is the last chance an application has to execute code before the game loop thead exits. This is the recommended place to unregister any events that were registered during GameLoopStarting.

The CustomFonts example in ExampleGallery demonstrates using this event.

See Also