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: 0.0.0.0
Syntax
C#
event TypedEventHandler<ICanvasAnimatedControl, CanvasAnimatedDrawEventArgs> Draw

Value

Type: Windows.FoundationTypedEventHandlerICanvasAnimatedControl, CanvasAnimatedDrawEventArgs
Remarks

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