using System;
namespace DevComponents.AdvTree
{
	/// 
	/// Provides event arguments for command button events.
	/// 
	public class CommandButtonEventArgs:EventArgs
	{
		/// 
		/// Default constructor.
		/// 
		/// Action type.
		/// Context node.
		public CommandButtonEventArgs(eTreeAction action, Node node)
		{
			this.Action=action;
			this.Node=node;
		}
		
		/// 
		/// Indicates the action type that caused the event.
		/// 
		public eTreeAction Action=eTreeAction.Code;
		/// 
		/// Indicates the node action is peformed on.
		/// 
		public DevComponents.AdvTree.Node Node=null;
	}
}