Skip to main content
Version: 3.5

TreeViewCancelEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents the method that will handle the BeforeCheck, BeforeCollapse, BeforeExpand, or BeforeSelect event of a TreeView.

public delegate void TreeViewCancelEventHandler(Object sender, TreeViewCancelEventArgs e)

Parameters

NameTypeDescription
senderObjectThe source of the event.
eTreeViewCancelEventArgsA TreeViewCancelEventArgs that contains the event data.

Fired By

NameDescription
TreeNode.BeforeCheckOccurs before the tree node check box is checked.
TreeNode.BeforeCollapseOccurs before the tree node is collapsed.
TreeNode.BeforeExpandOccurs before the tree node is expanded.
TreeNode.BeforeSelectOccurs before the tree node is selected.
TreeView.BeforeCheckOccurs before the tree node check box is checked.
TreeView.BeforeCollapseOccurs before the tree node is collapsed.
TreeView.BeforeExpandOccurs before the tree node is expanded.
TreeView.BeforeSelectOccurs before the tree node is selected.