using System;
using System.Text;
using System.Drawing;
namespace DevComponents.DotNetBar
{
    /// 
    /// Represents events arguments for the Ribbon Control rendering events.
    /// 
    public class RibbonControlRendererEventArgs : EventArgs
    {
        /// 
        /// Gets or sets Graphics control is rendered on.
        /// 
        public Graphics Graphics = null;
        /// 
        /// Gets the reference to RibbonControl instance being rendered.
        /// 
        public RibbonControl RibbonControl = null;
        /// 
        /// Gets whether Windows Vista Glass is enabled.
        /// 
        public bool GlassEnabled = false;
        internal ItemPaintArgs ItemPaintArgs = null;
        /// 
        /// Creates new instance and initializes it with the default values.
        /// 
        /// Reference to Graphics object
        /// Reference to RibbonControl
        public RibbonControlRendererEventArgs(Graphics g, RibbonControl rc, bool glassEnabled)
        {
            this.Graphics = g;
            this.RibbonControl = rc;
            this.GlassEnabled = glassEnabled;
        }
    }
}