// ********************************* // Message from Original Author: // // 2008 Jose Menendez Poo // Please give me credit if you use this code. It's all I ask. // Contact me for more info: menendezpoo@gmail.com // ********************************* // // Original project from http://ribbon.codeplex.com/ // Continue to support and maintain by http://officeribbon.codeplex.com/ using System.Drawing; namespace System.Windows.Forms { /// Ribbon rendering event data public class RibbonRenderEventArgs : EventArgs { public RibbonRenderEventArgs(Ribbon owner, Graphics g, Rectangle clip) { Ribbon = owner; Graphics = g; ClipRectangle = clip; } /// /// Gets the Ribbon related to the render /// public Ribbon Ribbon { get; set; } /// /// Gets the Device to draw into /// public Graphics Graphics { get; set; } /// /// Gets the Rectangle area where to draw into /// public Rectangle ClipRectangle { get; set; } } }