using System;
using System.Drawing;
namespace DevComponents.Tree.Display
{
	/// 
	/// Provides data for tree background rendering events.
	/// 
	public class TreeBackgroundRendererEventArgs
	{
		/// 
		/// Gets or sets reference to Graphics object, canvas tree background is rendered on.
		/// 
		public System.Drawing.Graphics Graphics=null;
		
		/// 
		/// Gets or sets the reference to TreeGX control.
		/// 
		public TreeGX TreeGX = null;
		
		/// 
		/// Creates new instance of the class and initializes it with default values.
		/// 
		/// Reference to graphics object.
		public TreeBackgroundRendererEventArgs(Graphics g, TreeGX tree)
		{
			this.Graphics = g;
			this.TreeGX = tree;
		}
	}
}