1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/External/Aga.Controls/Tree/TreeViewRowDrawEventArgs.cs Sun May 27 15:16:19 2012 +0000
1.3 @@ -0,0 +1,46 @@
1.4 +using System;
1.5 +using System.Collections.Generic;
1.6 +using System.Text;
1.7 +using System.Windows.Forms;
1.8 +using System.Drawing;
1.9 +
1.10 +namespace Aga.Controls.Tree
1.11 +{
1.12 + public class TreeViewRowDrawEventArgs: PaintEventArgs
1.13 + {
1.14 + TreeNodeAdv _node;
1.15 + DrawContext _context;
1.16 + int _row;
1.17 + Rectangle _rowRect;
1.18 +
1.19 + public TreeViewRowDrawEventArgs(Graphics graphics, Rectangle clipRectangle, TreeNodeAdv node, DrawContext context, int row, Rectangle rowRect)
1.20 + : base(graphics, clipRectangle)
1.21 + {
1.22 + _node = node;
1.23 + _context = context;
1.24 + _row = row;
1.25 + _rowRect = rowRect;
1.26 + }
1.27 +
1.28 + public TreeNodeAdv Node
1.29 + {
1.30 + get { return _node; }
1.31 + }
1.32 +
1.33 + public DrawContext Context
1.34 + {
1.35 + get { return _context; }
1.36 + }
1.37 +
1.38 + public int Row
1.39 + {
1.40 + get { return _row; }
1.41 + }
1.42 +
1.43 + public Rectangle RowRect
1.44 + {
1.45 + get { return _rowRect; }
1.46 + }
1.47 + }
1.48 +
1.49 +}