diff -r 3145aadca3d2 -r 0c551e8818e0 External/Aga.Controls/Tree/TreeViewRowDrawEventArgs.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/External/Aga.Controls/Tree/TreeViewRowDrawEventArgs.cs Sun May 27 15:16:19 2012 +0000 @@ -0,0 +1,46 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Windows.Forms; +using System.Drawing; + +namespace Aga.Controls.Tree +{ + public class TreeViewRowDrawEventArgs: PaintEventArgs + { + TreeNodeAdv _node; + DrawContext _context; + int _row; + Rectangle _rowRect; + + public TreeViewRowDrawEventArgs(Graphics graphics, Rectangle clipRectangle, TreeNodeAdv node, DrawContext context, int row, Rectangle rowRect) + : base(graphics, clipRectangle) + { + _node = node; + _context = context; + _row = row; + _rowRect = rowRect; + } + + public TreeNodeAdv Node + { + get { return _node; } + } + + public DrawContext Context + { + get { return _context; } + } + + public int Row + { + get { return _row; } + } + + public Rectangle RowRect + { + get { return _rowRect; } + } + } + +}