TreeView
Wisej.Web.TreeView
Last updated
Was this helpful?
Wisej.Web.TreeView
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Displays a hierarchical collection of labeled items, each represented by a .
Initializes a new instance of the class.
: Gets or sets the border style of the tree view control.
Throws:
Throws:
Throws:
Throws:
Throws:
This method has no effect on this control.
Collapses all the tree nodes.
This method has no effect on this control.
Expands all the tree nodes.
Retrieves the number of tree nodes, optionally including those in all subtrees, assigned to the tree view control.
includeSubTrees
node
Throws:
node
selected
Throws:
Bindable components implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
: Returns or sets whether check boxes are displayed next to the tree nodes in the tree view control. Tree nodes may override this property setting the property.
: Returns or sets whether all the node images are hidden. Tree nodes may override this property setting the property.
: Returns or sets the image-list index value of the default image that is displayed by the tree nodes.
The specified index is less than -1.
: Returns or sets the key of the default image for each node in the control when it is in an unselected state.
: Returns or sets the that contains the objects that are used by the tree nodes.
: Returns or sets the distance in pixels to indent each child tree node level.
The assigned value is less than -1; or the assigned value is greater than 500.
: Gets or sets the height of each tree node in the tree view control. When the value is -1, uses the value set in the theme.
The assigned value is less than -1; or the assigned value is greater than 500.
: Returns or sets whether the label text of the tree nodes can be edited.
: Returns the collection of tree nodes that are assigned to the tree view control.
: Returns or sets the image list index value of the image that is displayed when a is expanded.
The index assigned value is less than -1.
: Returns or sets the key of the default image shown when a is expanded.
: Returns or sets the delimiter string that the tree node path uses.
: Returns or sets the number of items to prefetch outside of the visible area when is set to true. The default is 0 (disabled).
: Returns or sets whether the under the pointer gets selected on a right click.
When the right click lands outside of a selected area the selection is not changed regardless of the value of .
: Returns or sets whether the tree view control displays scroll bars when they are needed.
: Returns or sets the image list index value of the image that is displayed when a is selected.
The index assigned value is less than -1.
: Returns or sets the key of the default image shown when a is selected.
: Returns or sets the tree node that is currently selected in the tree view control.
: Returns or sets the tree nodes that are currently selected in the tree view control. Use this property when the SelectionMode is MultiSimple or MultiExtended.
: Returns or sets the method in which items are selected in the .
: Returns or sets a value indicating ToolTips are shown when the mouse pointer hovers over a .
: Returns or sets whether plus-sign (+) and minus-sign (-) buttons are displayed next to tree nodes that contain child tree nodes.
: Returns or sets whether lines are drawn between the tree nodes that are at the root of the tree view.
: Returns or sets whether the tree nodes in the tree view are sorted.
: Returns or sets the image list that is used to indicate the state of the and its nodes.
: Returns the instance of associated with this control.
: Returns or sets the first fully-visible tree node in the tree view control.
: Returns or sets the implementation of to perform a custom sort of the nodes.
: Enables or disables virtual scrolling for the . When virtual scrolling is enabled, only the visible nodes are rendered in the browser allowing the to host virtually unlimited nodes without any performance loss.
When is set to true, all the nodes must be of the same height, limiting the more flexible HTML rendering in the nodes available when is off (default). Setting the property to a value greater than 0 allows the virtual view to prefetch the specified number of items outside of the visible area to enable smoother scrolling.
Unselects all nodes in the .
true to count the items that the subtrees contain; otherwise, false.
Returns: . The number of tree nodes, optionally including those in all subtrees, assigned to the tree view control.
Returns a value indicating whether the specified is selected.
The to check.
Returns: . true if the specified is currently selected in the ; otherwise, false.
The specified node is null.
The specified node is currently assigned to another .
Selects or clears the selection for the specified in a .
The to select.
True to select the specified , otherwise false to deselect it.
The specified node is null.
The specified node is currently assigned to another .
The property is set to None.
Sorts the items in control.
Occurs after the tree node check box is checked.
Occurs after the tree node is collapsed.
Occurs after the tree node is expanded.
Occurs after the tree node label text is edited.
Occurs after the tree node is selected.
Occurs before the tree node check box is checked.
Occurs before the tree node is collapsed.
Occurs before the tree node is expanded.
Occurs before the tree node label text is edited.
Occurs before the tree node is selected.
Deprecated: This event is deprecated. Use NodeDrag instead. Fired when the user begins dragging a node.
Fired when the user begins dragging a node.
Fired when the user clicks a with the mouse.
Fired when the user double-clicks a with the mouse.
Fired when the mouse hovers over a .
Fired when the mouse leaves the .
Fired when a is clicked.
All wisej controls derived from the class must implement this interface.