Files
mono/mcs/class/System.Windows.Forms/System.Windows.Forms/TreeViewCancelEventArgs.cs
T
Dennis Hayes bf7fdf0e50 switched to unix style line terminators
svn path=/trunk/mcs/; revision=9374
2002-12-04 01:35:42 +00:00

62 lines
1.2 KiB
C#

//
// System.Windows.Forms.TreeViewCancelEventArgs
//
// Author:
// stubbed out by Jackson Harper ([email protected])
// Partially completed by Dennis Hayes ([email protected])
// Gianandrea Terzi ([email protected])
//
// (C) 2002 Ximian, Inc
//
using System.ComponentModel;
namespace System.Windows.Forms {
// <summary>
// </summary>
public class TreeViewCancelEventArgs : CancelEventArgs {
private TreeNode node;
private TreeViewAction action;
//
// --- Public Constructors
//
public TreeViewCancelEventArgs(TreeNode node, bool cancel, TreeViewAction action) : base(cancel)
{
this.node = node;
this.action = action;
}
#region Public Properties
/// <summary>
/// Action Property
/// </summary>
///
/// <remarks>
/// Gets the type of TreeViewAction that raised the event.
/// </remarks>
public TreeViewAction Action
{
get {
return action;
}
}
/// <summary>
/// Node Property
/// </summary>
///
/// <remarks>
/// Gets the tree node to be checked, expanded, collapsed, or selected.
/// </remarks>
public TreeNode Node
{
get {
return node;
}
}
#endregion
}
}