moel@345: using System;
moel@345: using System.Collections.Generic;
moel@345: using System.Text;
moel@345: using System.Windows.Forms;
moel@345: using System.Drawing;
moel@345: 
moel@345: namespace Aga.Controls.Tree
moel@345: {
moel@345: 	public class TreeViewRowDrawEventArgs: PaintEventArgs
moel@345: 	{
moel@345: 		TreeNodeAdv _node;
moel@345: 		DrawContext _context;
moel@345: 		int _row;
moel@345: 		Rectangle _rowRect;
moel@345: 
moel@345: 		public TreeViewRowDrawEventArgs(Graphics graphics, Rectangle clipRectangle, TreeNodeAdv node, DrawContext context, int row, Rectangle rowRect)
moel@345: 			: base(graphics, clipRectangle)
moel@345: 		{
moel@345: 			_node = node;
moel@345: 			_context = context;
moel@345: 			_row = row;
moel@345: 			_rowRect = rowRect;
moel@345: 		}
moel@345: 
moel@345: 		public TreeNodeAdv Node
moel@345: 		{
moel@345: 			get { return _node; }
moel@345: 		}
moel@345: 
moel@345: 		public DrawContext Context
moel@345: 		{
moel@345: 			get { return _context; }
moel@345: 		}
moel@345: 
moel@345: 		public int Row
moel@345: 		{
moel@345: 			get { return _row; }
moel@345: 		}
moel@345: 
moel@345: 		public Rectangle RowRect
moel@345: 		{
moel@345: 			get { return _rowRect; }
moel@345: 		}
moel@345: 	}
moel@345: 
moel@345: }