TreeNodeExtensions
Wisej.Web.Markup.TreeNodeExtensions
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the TreeNode class.
public class TreeNodeExtensionsPublic Class TreeNodeExtensionsMethods
Checked<TTreeNode>(treeNode, value)
Sets the checked state of the tree node.
Returns: TTreeNode. The modified tree node with the checked state set.
LazyLoading<TTreeNode>(treeNode, value)
Sets the lazy loading property of the tree node.
Returns: TTreeNode. The modified tree node with the lazy loading property set.
Nodes<TTreeNode>(treeNode, nodes)
Adds an array of child nodes to the specified TreeNode.
Returns: TTreeNode. The tree node with the updated child nodes.
This method allows you to add multiple child nodes to a tree node in a tree view control.
OnAfterCheck<TTreeNode>(treeNode, action)
Attaches an action to be executed after the tree node is checked.
Returns: TTreeNode. The tree node with the action attached.
This method allows you to perform custom logic after a tree node's checked state changes.
OnAfterCollapse<TTreeNode>(treeNode, action)
Attaches an action to be executed after the tree node is collapsed.
Returns: TTreeNode. The tree node with the action attached.
This method allows you to perform custom logic after a tree node is collapsed.
OnAfterExpand<TTreeNode>(treeNode, action)
Attaches an action to be executed after the tree node is expanded.
Returns: TTreeNode. The tree node with the action attached.
This method allows you to perform custom logic after a tree node is expanded.
OnAfterSelect<TTreeNode>(treeNode, action)
Attaches an action to be executed after the tree node is selected.
Returns: TTreeNode. The tree node with the action attached.
This method allows you to perform custom logic after a tree node is selected.
OnBeforeCheck<TTreeNode>(treeNode, action)
Attaches an action to be executed before the tree node is checked.
Returns: TTreeNode. The tree node with the action attached.
This method allows you to perform custom logic before a tree node's checked state changes.
OnBeforeCollapse<TTreeNode>(treeNode, action)
Attaches an action to be executed before the tree node is collapsed.
Returns: TTreeNode. The tree node with the action attached.
This method allows you to perform custom logic before a tree node is collapsed.
OnBeforeExpand<TTreeNode>(treeNode, action)
Attaches an action to be executed before the tree node is expanded.
Returns: TTreeNode. The tree node with the action attached.
This method allows you to perform custom logic before a tree node is expanded.
OnBeforeSelect<TTreeNode>(treeNode, action)
Attaches an action to be executed before the tree node is selected.
Returns: TTreeNode. The tree node with the action attached.
This method allows you to perform custom logic before a tree node is selected.
ShowLoader<TTreeNode>(treeNode, value)
Sets the show loader property of the tree node.
Returns: TTreeNode. The modified tree node with the show loader property set.
Last updated
Was this helpful?

