RenderingEventArgs RenderingEventArgs RenderingEventArgs RenderingEventArgs Class


Provides event data for the Rendering event.

public : sealed class RenderingEventArgs : IRenderingEventArgs
public sealed class RenderingEventArgs : IRenderingEventArgs
Public NotInheritable Class RenderingEventArgs Implements IRenderingEventArgs
// This class does not provide a public constructor.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


RenderingTime RenderingTime RenderingTime RenderingTime

Gets the time when the frame rendered, for timing purposes

public : TimeSpan RenderingTime { get; }
public TimeSpan RenderingTime { get; }
Public ReadOnly Property RenderingTime As TimeSpan
var timeSpan = renderingEventArgs.renderingTime;
TimeSpan TimeSpan TimeSpan TimeSpan

The time when the frame rendered.