Rendering Event
Collapse the table of content
Expand the table of content

CompositionTarget::Rendering Event

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Occurs when the core Windows Phone rendering process renders a frame.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

No code example is currently available or this language may not be supported.

Use the general EventHandler delegate for this event. Rendering uses the EventHandler delegate and EventArgs event data by its strict signature. However, you can base a handler on EventHandler and then cast the event data to RenderingEventArgs. Then you can get the RenderingTime property value for that occurrence of the event.

When the event occurs, it means that there is a frame of visuals available to render to the Windows Phone content surface. You can then modify the visuals or any other aspect of your application on a per-frame basis within your handler.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft