TreeViewCancelEventArgs

TreeViewCancelEventArgs

System. Windows .Forms (system. windows .forms.dll) class

The class encapsulates the event data for the various TreeView.BeforeXXX events. You can determine the Action that caused the event and the Node that will be modified. If you wish to abort the action, you can set the Cancel property.

 public class  TreeViewCancelEventArgs  : System.ComponentModel.CancelEventArgs {  // Public Constructors  public  TreeViewCancelEventArgs  (TreeNode  node  , bool  cancel  , TreeViewAction  action  );  // Public Instance Properties  public TreeViewAction  Action  {get; }    public TreeNode  Node  {get; } } 

Hierarchy

System.Object System.EventArgs System.ComponentModel.CancelEventArgs TreeViewCancelEventArgs

Passed To

TreeView.{OnBeforeCheck() , OnBeforeCollapse() , OnBeforeExpand() , OnBeforeSelect()} , TreeViewCancelEventHandler.{BeginInvoke() , Invoke()}



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net