Name
TreeViewEventArgs
Synopsis
This class encapsulates the data for the
TreeView.AfterXXX
events. You can determine the
Action
that raised the event and the
Node
that has been modified.
public class TreeViewEventArgs : EventArgs { // Public Constructors public TreeViewEventArgs(TreeNode node); public TreeViewEventArgs(TreeNode node, TreeViewAction action); // Public Instance Properties public TreeViewAction Action{get; } public TreeNode Node{get; } }
Hierarchy
System.Object
→ System.EventArgs → TreeViewEventArgs
Passed To
System.Windows.Forms.Design.ComponentEditorForm.OnSelChangeSelector()
, TreeView.{OnAfterCheck()
,
OnAfterCollapse()
, OnAfterExpand()
, OnAfterSelect()}
,
TreeViewEventHandler.{BeginInvoke()
,
Invoke()}
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.