using System;
using System.Drawing;
namespace DevComponents.Tree.Display
{
	/// 
	/// Summary description for NodeCommandPartRendererEventArgs.
	/// 
	public class NodeCommandPartRendererEventArgs:EventArgs
	{  
		/// 
		/// Gets or sets reference to Graphics object, canvas node is rendered on.
		/// 
		public System.Drawing.Graphics Graphics=null;
		/// 
		/// Gets or sets the reference to Node object being rendered.
		/// 
		public DevComponents.Tree.Node Node=null;
		/// 
		/// Gets or sets command part absolute bounds.
		/// 
		public Rectangle CommandPartBounds=Rectangle.Empty;
		/// 
		/// Gets or sets command part back color.
		/// 
		public Color BackColor=Color.Empty;
		/// 
		/// Gets or sets command part end gradient color.
		/// 
		public Color BackColor2=Color.Empty;
		/// 
		/// Gets or sets command part text color.
		/// 
		public Color ForeColor=Color.Empty;
		/// 
		/// Gets or sets gradient angle.
		/// 
		public int BackColorGradientAngle=0;
		/// 
		/// Gets or sets command part back color when mouse is over the part.
		/// 
		public Color MouseOverBackColor=Color.Empty;
		/// 
		/// Gets or sets command part end gradient back color when mouse is over the part.
		/// 
		public Color MouseOverBackColor2=Color.Empty;
		/// 
		/// Gets or sets text color when mouse is over the part.
		/// 
		public Color MouseOverForeColor=Color.Empty;
		/// 
		/// Gets or sets gradient angle.
		/// 
		public int MouseOverBackColorGradientAngle=0;
		
		/// 
		/// Creates new instance of the class.
		/// 
		/// 
		public NodeCommandPartRendererEventArgs(Graphics g)
		{
		}
	}
}