TreeViewExtensions
Wisej.Web.Markup.TreeViewExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.TreeViewExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds extension methods to the class.
Adds an array of root nodes to the specified .
TTreeView
treeView
The tree view to which the root nodes will be added.
nodes
An array of tree nodes to be added as root nodes.
Returns: . The tree view with the updated root nodes.
This method allows you to add multiple root nodes to a tree view control.
Extension method to attach an action to the AfterCheck event of a TreeView.
TTreeView
The type of the TreeView, which must inherit from TreeView.
treeView
The TreeView instance to attach the event handler to.
action
The action to execute when the AfterCheck event is triggered.
This method allows you to execute a custom action whenever a node in the TreeView is checked or unchecked.
Extension method to attach an action to the AfterCollapse event of a TreeView.
TTreeView
The type of the TreeView, which must inherit from TreeView.
treeView
The TreeView instance to attach the event handler to.
action
The action to execute when the AfterCollapse event is triggered.
This method allows you to execute a custom action whenever a node in the TreeView is collapsed.
TTreeView
The type of the TreeView.
treeView
The TreeView instance to configure.
action
The action to execute after a node is expanded.
This method allows you to specify an action that will be executed after a node is expanded in the TreeView.
TTreeView
The type of the TreeView.
treeView
The TreeView instance to configure.
action
The action to execute after a node is selected.
This method allows you to specify an action that will be executed after a node is selected in the TreeView.
Extension method to attach an action to the BeforeCheck event of a TreeView.
TTreeView
The type of the TreeView, which must inherit from TreeView.
treeView
The TreeView instance to attach the event handler to.
action
The action to execute when the BeforeCheck event is triggered.
This method allows you to execute a custom action before a node in the TreeView is checked or unchecked.
Extension method to attach an action to the BeforeCollapse event of a TreeView.
TTreeView
The type of the TreeView, which must inherit from TreeView.
treeView
The TreeView instance to attach the event handler to.
action
The action to execute when the BeforeCollapse event is triggered.
This method allows you to execute a custom action before a node in the TreeView is collapsed.
TTreeView
The type of the TreeView.
treeView
The TreeView instance to configure.
action
The action to execute before a node is expanded.
This method allows you to specify an action that will be executed before a node is expanded in the TreeView.
TTreeView
The type of the TreeView.
treeView
The TreeView instance to configure.
action
The action to execute before a node is selected.
This method allows you to specify an action that will be executed before a node is selected in the TreeView.
TTreeView
The type of the TreeView.
treeView
The TreeView instance to configure.
value
A boolean value indicating whether the loader should be shown.
This method allows you to show or hide a loader on a TreeView.
TTreeView
The type of the TreeView.
treeView
The TreeView instance to configure.
value
A boolean value indicating whether virtual scrolling should be enabled.
This method allows you to enable or disable virtual scrolling on a TreeView.
The type of the tree view, which must inherit from .
Returns: . The original TreeView instance with the event handler attached.
Returns: . The original TreeView instance with the event handler attached.
Attaches an action to be executed after a node is expanded in the .
Returns: . The configured TreeView instance.
Attaches an action to be executed after a node is selected in the .
Returns: . The configured TreeView instance.
Returns: . The original TreeView instance with the event handler attached.
Returns: . The original TreeView instance with the event handler attached.
Attaches an action to be executed before a node is expanded in the .
Returns: . The configured TreeView instance.
Attaches an action to be executed before a node is selected in the .
Returns: . The configured TreeView instance.
Sets the loader visibility of the .
Returns: . The configured TreeView instance.
Sets the virtual scrolling capability of the .
Returns: . The configured TreeView instance.