File: Core\CSharp\System\Windows\Media\RenderingEventArgs.cs
Project: wpf\src\PresentationCore.csproj (PresentationCore)
using System;
using System.Windows;
 
namespace System.Windows.Media
{
    /// <summary>
    /// The RenderingEventArgs class is passed as the argument into the CompositionTarget.Rendering 
    /// event.  It provides the estimated next render time.  
    /// </summary>
    public class RenderingEventArgs : EventArgs
    {
        /// <summary>
        /// Internal constructor
        /// </summary>
        /// <param name="renderingTime"></param>
        internal RenderingEventArgs(TimeSpan renderingTime)
        {
            _renderingTime = renderingTime;
        }
 
        /// <summary>
        /// Returns the time at which we expect to render the next frame
        /// to the screen.  This is the same time used by the TimeManager.
        /// </summary>
        public TimeSpan RenderingTime
        {
            get
            {
                return _renderingTime;
            }
        }
 
        private TimeSpan _renderingTime; 
    }
}