Click or drag to resize
ICanvasAnimatedControlDraw Event
Hook this event to draw the contents of the control.

Namespace:  Microsoft.Graphics.Canvas.UI.Xaml
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version:
event TypedEventHandler<ICanvasAnimatedControl, CanvasAnimatedDrawEventArgs> Draw


Type: Windows.FoundationTypedEventHandlerICanvasAnimatedControl, CanvasAnimatedDrawEventArgs

The Draw event is raised any time its contents need to be redrawn. Reasons it may be raised are:

  • One or more Update events have been raised
  • The control's size has changed
  • The control's clear color has changed

The Draw event is raised on the game loop thread.

See Also