moel@345: using System;
moel@345: using System.Collections.Generic;
moel@345: using System.Text;
moel@345: using System.Drawing;
moel@345: 
moel@345: namespace Aga.Controls.Tree.NodeControls
moel@345: {
moel@345: 	public class DrawEventArgs : NodeEventArgs
moel@345: 	{
moel@345: 		private DrawContext _context;
moel@345: 		public DrawContext Context
moel@345: 		{
moel@345: 			get { return _context; }
moel@345: 		}
moel@345: 
moel@345: 		private Brush _textBrush;
moel@345: 		[Obsolete("Use TextColor")]
moel@345: 		public Brush TextBrush
moel@345: 		{
moel@345: 			get { return _textBrush; }
moel@345: 			set { _textBrush = value; }
moel@345: 		}
moel@345: 
moel@345: 		private Brush _backgroundBrush;
moel@345: 		public Brush BackgroundBrush
moel@345: 		{
moel@345:             get { return _backgroundBrush; }
moel@345: 			set { _backgroundBrush = value; }
moel@345: 		}
moel@345: 
moel@345: 		private Font _font;
moel@345: 		public Font Font
moel@345: 		{
moel@345: 			get { return _font; }
moel@345: 			set { _font = value; }
moel@345: 		}
moel@345: 
moel@345: 		private Color _textColor;
moel@345: 		public Color TextColor
moel@345: 		{
moel@345: 			get { return _textColor; }
moel@345: 			set { _textColor = value; }
moel@345: 		}
moel@345: 
moel@345: 		private string _text;
moel@345: 		public string Text
moel@345: 		{
moel@345: 			get { return _text; }
moel@345: 			set { _text = value; }
moel@345: 		}
moel@345: 
moel@345: 
moel@345: 		private EditableControl _control;
moel@345: 		public EditableControl Control
moel@345: 		{
moel@345: 			get { return _control; }
moel@345: 		}
moel@345: 
moel@345: 		public DrawEventArgs(TreeNodeAdv node, EditableControl control, DrawContext context, string text)
moel@345: 			: base(node)
moel@345: 		{
moel@345: 			_control = control;
moel@345: 			_context = context;
moel@345: 			_text = text;
moel@345: 		}
moel@345: 	}
moel@345: }