| C1.Win.TreeView Namespace > C1TreeView Class : CheckStateChanging Event |
'Declaration<C1CategoryAttribute("Behavior")> <C1DescriptionAttribute("Occurs before the tree node check box is checked. Allows to cancel the change.")> Public Event CheckStateChanging As C1TreeViewCancelEventHandler
'UsageDim instance As C1TreeView Dim handler As C1TreeViewCancelEventHandler AddHandler instance.CheckStateChanging, handler
[C1Category("Behavior")] [C1Description("Occurs before the tree node check box is checked. Allows to cancel the change.")] public event C1TreeViewCancelEventHandler CheckStateChanging
[C1Category("Behavior")] [C1Description("Occurs before the tree node check box is checked. Allows to cancel the change.")] public: event C1TreeViewCancelEventHandler^ CheckStateChanging
The event handler receives an argument of type C1TreeViewCancelEventArgs containing data related to this event. The following C1TreeViewCancelEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
| Node | Gets the tree node that has been checked, expanded, collapsed, or selected. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2