Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Web.ItemDragEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents the method that will handle the ItemDrag event of a TreeView control.
public delegate void ItemDragEventHandler(Object sender, ItemDragEventArgs e)Public Delegate Sub ItemDragEventHandler(ByVal sender As [Object], ByVal e As ItemDragEventArgs)Deprecated: This handler is deprecated. Use TreeViewNodeDragEventHandler.
Wisej.Web.TreeNodeMouseHoverEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Provides data for the NodeMouseHover event.
public class TreeNodeMouseHoverEventArgs : EventArgsPublic Class TreeNodeMouseHoverEventArgs
Inherits EventArgsInitializes a new instance of the class.
: Returns the node the mouse pointer is currently resting on.
node
The TreeNode the mouse pointer is currently resting on.
Represents the method that will handle the NodeMouseHover event of a TreeView.
sender
The source of the event.
e
An ItemDragEventArgs that contains the event data.
Fired when the user begins dragging a TreeNode.
Fired when the user begins dragging a node.
Wisej.Web.NodeLabelEditEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents the method that will handle the BeforeLabelEdit and AfterLabelEdit events of a TreeView control.
public delegate void NodeLabelEditEventHandler(Object sender, NodeLabelEditEventArgs e)Public Delegate Sub NodeLabelEditEventHandler(ByVal sender As [Object], ByVal e As NodeLabelEditEventArgs)Wisej.Web.TreeNodeMouseClickEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents the method that will handle the NodeMouseClick and NodeMouseDoubleClick events of a TreeView.
public delegate void TreeNodeMouseClickEventHandler(Object sender, TreeNodeMouseClickEventArgs e)Public Delegate Sub TreeNodeMouseClickEventHandler(ByVal sender As [Object], ByVal e As TreeNodeMouseClickEventArgs)Wisej.Web.ItemDragEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Provides data for the ItemDrag event of the TreeView controls.
public class ItemDragEventArgs : EventArgsPublic Class ItemDragEventArgs
Inherits EventArgsInitializes a new instance of the class with a specified mouse button.
Initializes a new instance of the class with a specified mouse button and the that is being dragged.
: Returns a value that indicates which mouse buttons were pressed during the drag operation.
: Returns the that is being dragged.
sender
The source of the event.
e
A NodeLabelEditEventArgs that contains the event data.
Occurs after the tree node label text is edited.
Occurs before the tree node label text is edited.
Occurs after the tree node label text is edited.
Occurs before the tree node label text is edited.
sender
The source of the event.
e
A TreeNodeMouseClickEventArgs that contains the event data.
Fired when the user clicks a TreeNode with the mouse.
Fired when the user double-clicks a TreeNode with the mouse.
Fired when the user clicks a TreeNode with the mouse.
Fired when the user double-clicks a TreeNode with the mouse.
button
A combination of MouseButtons values that indicates which mouse buttons were pressed.
button
A combination of MouseButtons values that indicates which mouse buttons were pressed.
node
The TreeNode being dragged.
sender
The source of the event.
e
An that contains the event data.
Fired when the user begins dragging a .
Fired when the user begins dragging a node.
Public Delegate Sub TreeViewNodeDragEventHandler(ByVal sender As [Object], ByVal e As TreeViewNodeDragEventArgs)public delegate void TreeViewNodeDragEventHandler(Object sender, TreeViewNodeDragEventArgs e)Wisej.Web.TreeViewCancelEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.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)Public Delegate Sub TreeViewCancelEventHandler(ByVal sender As [Object], ByVal e As TreeViewCancelEventArgs)Wisej.Web.TreeNodeMouseClickEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Provides data for the
Occurs before the tree node is expanded.
Occurs before the tree node is selected.
sender
The source of the event.
e
A TreeViewCancelEventArgs that contains the event data.
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 is selected.
Occurs before the tree node check box is checked.
Occurs before the tree node is collapsed.
public class TreeNodeMouseClickEventArgs : MouseEventArgsPublic Class TreeNodeMouseClickEventArgs
Inherits MouseEventArgsInitializes a new instance of the TreeNodeMouseClickEventArgs class.
node
The node that was clicked.
button
One of the members.
clicks
The number of clicks that occurred.
x
Initializes a new instance of the TreeNodeMouseClickEventArgs class.
node
The node that was clicked.
button
One of the members.
clicks
The number of clicks that occurred.
x
TreeNode: Returns the tree node that has been clicked.
Represents the method that will handle the and events of a .
ByKeyboard
The event was caused by a keystroke .
ByMouse
The event was caused by a pointer operation.
Collapse
The event was caused by the collapsing.
Expand
The event was caused by the expanding.
Removed
The event was caused by the being removed.
Unknown
The action that caused the event is unknown.
Returns the type of action that raised the event.
Returns the type of action that raised the event.
Public Enum TreeViewAction As [Enum]public enum TreeViewAction : Enumsender
The source of the event.
e
A that contains the event data.
Fired when the mouse hovers over a .
Fired when the mouse leaves the .
Fired when the mouse hovers over a .
Fired when the mouse leaves the .
Public Delegate Sub TreeNodeMouseHoverEventHandler(ByVal sender As [Object], ByVal e As TreeNodeMouseHoverEventArgs)public delegate void TreeNodeMouseHoverEventHandler(Object sender, TreeNodeMouseHoverEventArgs e)Wisej.Web.TreeViewCancelEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Provides data for the BeforeCheck, BeforeCollapse, BeforeExpand, and BeforeSelect events of a TreeView control.
public class TreeViewCancelEventArgs : CancelEventArgsPublic Class TreeViewCancelEventArgs
Inherits CancelEventArgsInitializes a new instance of the class with the specified tree node, a value specifying whether the event is to be canceled, and the type of tree view action that raised the event.
Initializes a new instance of the class with the specified tree node, a value specifying whether the event is to be canceled, and the type of tree view action that raised the event.
: Returns the type of action that raised the event.
: Returns the tree node that has been checked, expanded, collapsed, or selected.
: Returns the tree nodes that has been selected in a multiselection treeview.
Wisej.Web.TreeViewNodeDragEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Provides data for the ItemDrag event of the TreeView controls.
public class TreeViewNodeDragEventArgs : EventArgsPublic Class TreeViewNodeDragEventArgs
Inherits EventArgsInitializes a new instance of the class with a specified mouse button.
Initializes a new instance of the class with a specified mouse button and the that is being dragged.
: Returns a value that indicates which mouse buttons were pressed during the drag operation.
: Returns the that is being dragged.
Wisej.Web.NodeLabelEditEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Provides data for the BeforeLabelEdit and AfterLabelEdit events.
public class NodeLabelEditEventArgs : EventArgsPublic Class NodeLabelEditEventArgs
Inherits EventArgsInitializes a new instance of the class for the specified .
Initializes a new instance of the class for the specified and the specified text with which to update the tree node label.
Initializes a new instance of the class for the specified .
: Returns or sets whether the edit has been canceled.
: Returns the new text to associate with the tree node.
: Returns the tree node containing the text to edit.
Wisej.Web.TreeViewEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents the method that will handle the AfterCheck, AfterCollapse, AfterExpand, or AfterSelect event of a TreeView.
public delegate void TreeViewEventHandler(Object sender, TreeViewEventArgs e)Public Delegate Sub TreeViewEventHandler(ByVal sender As [Object], ByVal e As TreeViewEventArgs)node
The TreeNode that the event is responding to.
cancel
true to cancel the event; otherwise, false.
action
One of the TreeViewAction values indicating the type of action that raised the event.
nodes
An array of TreeNode that the event is responding to.
cancel
true to cancel the event; otherwise, false.
action
One of the TreeViewAction values indicating the type of action that raised the event.
Represents the method that will handle the BeforeCheck, BeforeCollapse, BeforeExpand, or BeforeSelect event of a TreeView.
button
A combination of MouseButtons values that indicates which mouse buttons were pressed.
button
A combination of MouseButtons values that indicates which mouse buttons were pressed.
node
The TreeNode being dragged.
node
The tree node containing the text to edit.
node
The tree node containing the text to edit.
label
The new text to associate with the tree node.
args
The event arguments received from the client.
Represents the method that will handle the BeforeLabelEdit and AfterLabelEdit events of a TreeView control.
The x-coordinate where the click occurred.
y
The y-coordinate where the click occurred.
The x-coordinate where the click occurred.
y
The y-coordinate where the click occurred.
role
The internal role assigned to the element that generated the pointer event.
Occurs after the tree node is expanded.
Occurs after the tree node is selected.
sender
The source of the event.
e
A TreeViewEventArgs that contains the event data.
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 is selected.
Occurs after the tree node check box is checked.
Occurs after the tree node is collapsed.
Wisej.Web.TreeViewEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Provides data for the AfterCheck, AfterCollapse, AfterExpand, or AfterSelect events of a TreeView control.
public class TreeViewEventArgs : EventArgsPublic Class TreeViewEventArgs
Inherits EventArgsInitializes a new instance of the class for the specified tree node.
Initializes a new instance of the class for the specified tree node and with the specified type of action that raised the event.
Initializes a new instance of the class for the specified tree node and with the specified type of action that raised the event.
: Returns the type of action that raised the event.
: Returns the tree node that has been checked, expanded, collapsed, or selected.
: Returns the tree nodes that have been selected in a multi-selection treeview.
node
The TreeNode that the event is responding to.
node
The TreeNode that the event is responding to.
action
The type of TreeViewAction that raised the event.
nodes
An array of TreeNode that the event is responding to.
action
The type of TreeViewAction that raised the event.
Represents the method that will handle the AfterCheck, AfterCollapse, AfterExpand, or AfterSelect event of a TreeView.
Wisej.Web.TreeView
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Displays a hierarchical collection of labeled items, each represented by a TreeNode.
Initializes a new instance of the class.
: Gets or sets the border style of the tree view control. (Default: Solid)
: 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. (Default: False)
: Returns or sets whether all the node images are hidden. Tree nodes may override this property setting the property. (Default: False)
: Returns or sets the image-list index value of the default image that is displayed by the tree nodes. (Default: -1)
Throws:
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. (Default: "")
: Returns or sets the that contains the objects that are used by the tree nodes. (Default: null)
: Returns or sets the distance in pixels to indent each child tree node level. (Default: -1)
Throws:
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. (Default: -1)
Throws:
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. (Default: False)
: 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. (Default: -1)
Throws:
The index assigned value is less than -1.
: Returns or sets the key of the default image shown when a is expanded. (Default: "")
: Returns or sets the delimiter string that the tree node path uses. (Default: "\")
: Returns or sets the number of items to prefetch outside of the visible area when is set to true. The default is 0 (disabled). (Default: 0)
: Returns or sets whether the under the pointer gets selected on a right click. (Default: False)
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. (Default: True)
: Returns or sets the image list index value of the image that is displayed when a is selected. (Default: -1)
Throws:
The index assigned value is less than -1.
: Returns or sets the key of the default image shown when a is selected. (Default: "")
: 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 . (Default: One)
: Returns or sets a value indicating ToolTips are shown when the mouse pointer hovers over a . (Default: False)
: Returns or sets whether plus-sign (+) and minus-sign (-) buttons are displayed next to tree nodes that contain child tree nodes. (Default: True)
: Returns or sets whether the expand/collapse icon is displayed for the root nodes (the firs level nodes). (Default: True)
The name of this property is kept as-is for compatibility reasons. When set to true (default) it doesn't show any line next to the root nodes or any other node. It shows or hide the expand/collapse icon next to the root nodes.
: Returns or sets whether the tree nodes in the tree view are sorted. (Default: False)
: Returns or sets the image list that is used to indicate the state of the and its nodes. (Default: null)
: 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. (Default: False)
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.
This method has no effect on this control.
Unselects all nodes in the .
Collapses all the tree nodes.
Disposes the control.
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.
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.
Returns: . true if the specified is currently selected in the ; otherwise, false.
Throws:
The specified node is null.
The specified node is currently assigned to another .
Returns a collection of referenced components or collection of components.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Creates and register this control and all its children.
Deprecated: This method is deprecated. Use OnNodeDrag instead. Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the ToolClick event.
Processes the event from the client.
Renders the client component.
Updates the client component using the state information.
Selects or clears the selection for the specified in a .
Throws:
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.
disposing
true when this method is called by the application rather than a finalizer.
includeSubTrees
true to count the TreeNode items that the subtrees contain; otherwise, false.
node
The TreeNode to check.
items
e
A TreeViewEventArgs that contains the event data.
e
A TreeViewEventArgs that contains the event data.
e
A TreeViewEventArgs that contains the event data.
e
A NodeLabelEditEventArgs that contains the event data.
e
A TreeViewEventArgs that contains the event data.
e
A TreeViewCancelEventArgs that contains the event data.
e
A TreeViewCancelEventArgs that contains the event data.
e
A TreeViewCancelEventArgs that contains the event data.
e
A NodeLabelEditEventArgs that contains the event data.
e
A TreeViewCancelEventArgs that contains the event data.
e
An ItemDragEventArgs that contains the event data.
e
An TreeViewNodeDragEventArgs that contains the event data.
e
A TreeNodeMouseClickEventArgs that contains the event data.
e
A TreeNodeMouseClickEventArgs that contains the event data.
e
The TreeNodeMouseHoverEventArgs that contains the event data.
e
The TreeNodeMouseHoverEventArgs that contains the event data.
e
A ToolClickEventArgs that contains the event data.
e
Event arguments.
config
Dynamic configuration object.
state
Dynamic state object.
node
The TreeNode to select.
selected
True to select the specified TreeNode, otherwise false to deselect it.
Provides access to the UserData and Tag properties associated to the component implementing this interface.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
Public Class TreeView
Inherits Controlpublic class TreeView : ControlWisej.Web.TreeNodeCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents a collection of TreeNode objects.
public class TreeNodeCollection : IList, ICollection, IEnumerable, IList<TreeNode>, ICollection<TreeNode>, IEnumerable<TreeNode>Public Class TreeNodeCollection
Inherits IList
Implements ICollection, IEnumerable, IList(Of TreeNode), ICollection(Of TreeNode), IEnumerable(Of TreeNode): Returns the total number of objects in the collection.
: Returns a value indicating whether the collection is read-only.
: Returns or sets the at the specified index in the collection.
Throws:
The being assigned is also a parent causing a circular reference.
The value is null.
The index value is less than 0 or is greater than the number of tree nodes in the collection.
: Returns the with the specified key from the collection.
Adds a new tree node with the specified label text to the end of the current .
Returns: . A that represents the tree node being added to the collection.
Creates a new with the specified key and text, and adds it to the collection.
Returns: . The that was added to the collection.
Creates a with the specified key, text, and image, and adds it to the collection.
Returns: . The that was added to the collection.
Creates a with the specified key, text, and image, and adds it to the collection.
Returns: . The that was added to the collection.
Creates a with the specified key, text, and images, and adds it to the collection.
Returns: . The tree node that was added to the collection.
Creates a with the specified key, text, and images, and adds it to the collection.
Returns: . The that was added to the collection.
Adds a previously created to the end of the .
Returns: . The zero-based index value of the added to the .
Throws:
node is null.
The node is currently assigned to another or it is a parent node causing a circular reference.
Adds an array of previously created objects to the collection.
Throws:
nodes is null or one of the items in the collection is null.
nodes is the child of another .
Removes all tree nodes from the collection.
Removes and disposes all tree nodes from the collection.
Determines whether the specified is a member of the collection.
Returns: . true if the is a member of the collection; otherwise, false.
Determines whether the collection contains a with the specified key.
Returns: . true to indicate the collection contains a with the specified key; otherwise, false.
Copies the entire collection into an existing array at a specified location within the array.
Finds the objects with specified key, optionally searching sub nodes.
Returns: . An array of objects whose property matches the specified key.
Returns an enumerator that can be used to iterate through the .
Returns: . An that represents the .
Returns the index of the specified in the collection.
Returns: . The zero-based index of the item found in the tree node collection; otherwise, -1.
Returns the index of the first occurrence of a with the specified key.
Returns: . The zero-based index of the first occurrence of a tree node with the specified key, if found; otherwise, -1.
Inserts an existing tree node into the tree node collection at the specified location.
Throws:
node is null.
The node is currently assigned to another or it is a parent node causing a circular reference.
Creates a with the specified text and inserts it at the specified index.
Returns: . The that was inserted in the collection.
Creates a tree node with the specified text and key, and inserts it into the collection.
Returns: . The that was inserted in the collection.
Creates a with the specified key, text, and image, and inserts it into the collection at the specified index.
Returns: . The that was inserted in the collection.
Creates a with the specified key, text, and image, and inserts it into the collection at the specified index.
Returns: . The that was inserted in the collection.
Creates a with the specified key, text, and images, and inserts it into the collection at the specified index.
Returns: . The that was inserted in the collection.
Creates a with the specified key, text, and images, and inserts it into the collection at the specified index.
Returns: . The that was inserted in the collection.
Fires the event.
Removes the specified from the .
Throws:
node is null.
Removes a tree node from the tree node collection at a specified index.
Removes the with the specified key from the collection.
Fired when the collection changes.
selectedImageIndex
The index of the image to display in the when it is in a selected state.
selectedImageKey
The key of the image to display in the when it is in a selected state.
text
The label text displayed by the TreeNode.
key
The name of the TreeNode.
text
The text to display in the TreeNode.
key
The name of the TreeNode.
text
The text to display in the TreeNode.
imageIndex
The index of the image to display in the TreeNode.
key
The name of the TreeNode.
text
The text to display in the TreeNode.
imageKey
The image to display in the TreeNode.
key
The name of the TreeNode.
text
The text to display in the TreeNode.
imageIndex
The index of the image to display in the TreeNode.
selectedImageIndex
key
The name of the TreeNode.
text
The text to display in the TreeNode.
imageKey
The key of the image to display in the TreeNode.
selectedImageKey
node
The TreeNode to add to the collection.
nodes
An array of TreeNode objects representing the tree nodes to add to the collection.
dispose
Indicates whether to dispose the tree nodes removed from the collection.
node
The TreeNode to locate in the collection.
key
The name of the TreeNode to search for.
dest
The destination array.
index
The index in the destination array at which storing begins.
key
The name of the tree node to search for.
searchAllChildren
true to search child nodes of tree nodes; otherwise, false.
node
The TreeNode to locate in the collection.
key
The name of the tree node to search for.
index
The indexed location within the collection to insert the TreeNode.
node
The TreeNode to insert into the collection.
index
The location within the collection to insert the TreeNode.
text
The text to display in the TreeNode.
index
The location within the collection to insert the TreeNode.
key
The name of the TreeNode.
text
The text to display in the TreeNode.
index
The location within the collection to insert the TreeNode.
key
The name of the TreeNode.
text
The text to display in the TreeNode.
imageIndex
index
The location within the collection to insert the TreeNode.
key
The name of the TreeNode.
text
The text to display in the TreeNode.
imageKey
index
The location within the collection to insert the TreeNode.
key
The name of the TreeNode.
text
The text to display in the TreeNode.
imageIndex
index
The location within the collection to insert the TreeNode.
key
The name of the TreeNode.
text
The text to display in the TreeNode.
imageKey
The key of the image to display in the TreeNode.
action
One of CollectionChangeAction indicating the reason the collection has changed.
element
The element that was added or removed from the collection, or null.
node
The TreeNode to remove.
index
The index of the TreeNode to remove.
key
The name of the tree node to remove from the collection.
The index of the image to be displayed in the tree node when it is in a selected state.
The key of the image to display when the node is in a selected state.
The index of the image to display in the .
The key of the image to display in the .
The index of the image to display in the .
Wisej.Web.TreeNode
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents a node of a TreeView.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified label text and child tree nodes.
Initializes a new instance of the class with the specified label text and images to display when the tree node is in a selected and unselected state.
Initializes a new instance of the class with the specified label text, child tree nodes, and images to display when the tree node is in a selected and unselected state.
Initializes a new instance of the class with the specified label text, child tree nodes, and images to display when the tree node is in a selected and unselected state.
: Returns or sets a value indicating that the tree node can display HTML in the Text property. (Default: False)
: Returns or sets the background color of the tree node.
: Returns or sets whether a checkbox is displayed next to the tree node. (Default: null)
: Returns or sets whether the tree node is in a checked state. (Default: False)
: Returns or sets the checked state of the tree node. (Default: Unchecked)
: Returns the shortcut menu that is associated with this tree node. (Default: null)
: Returns or sets whether the tree node is in enabled. (Default: True)
: Returns the list of event handlers that are attached to this .
: Returns the first child tree node in the tree node collection.
: Returns or sets the foreground color of the tree node.
: Returns the path from the root tree node to the current tree node.
: Returns or sets a valid indicating whether the node image next to the tree node is hidden. (Default: null)
: Returns or sets the image list index value of the image displayed when the tree node is in the unselected state. (Default: -1)
Throws:
The specified index is less than -1.
: Returns or sets the key for the image associated with this tree node when the node is in an unselected state. (Default: "")
: Returns the that contains the images displayed in the .
: Returns the position of the tree node in the tree node collection.
: Returns a value indicating whether the tree node is in an editable state.
: Returns or sets whether the tree node is enabled.
: Returns a value indicating whether the tree node is in the expanded state.
: Returns or sets whether the tree node is a parent node and can be expanded.
Setting this property to true when the node doesn't have any children, will cause the node to expand anyway and request the child nodes from the server.
: Returns a value indicating whether the tree node is in the selected state.
: Returns the last child tree node.
: Returns or sets whether child nodes are sent to the client the first time this node is expanded. (Default: False)
This option sends less data to the client and speeds up the creation of tree nodes with many child nodes. It can be used in conjunction with the property .
: Returns the zero-based depth of the tree node in the control.
: Returns or sets the name of the tree node.
: Returns the next sibling tree node.
: Returns the next visible tree node.
: Returns the number of child nodes without forcing the creation of the collection.Since 3.1
: Returns or sets the font that is used to display the text on the tree node label.
: Returns the collection of tree nodes assigned to the current tree node.
: Returns or sets the index of the image that is used when the tree node is expanded. (Default: -1)
Throws:
The specified index is less than -1.
: Returns or sets the key of the image that is used when the tree node is expanded. (Default: "")
: Returns the parent tree node of the current tree node.
: Returns the previous sibling tree node.
: Returns the previous visible tree node.
: Returns or sets the image list index value of the image that is displayed when the tree node is in the selected state. (Default: -1)
Throws:
The specified index is less than -1.
: Returns or sets the key of the image displayed in the tree node when it is in a selected state. (Default: "")
: Returns or sets whether the tree node shows the node-loader image when it is expanding but it doesn't have any child nodes. (Default: False)
: Returns or sets the index of the image that is used to indicate the state of the tree node when the parent has its property set to false. (Default: -1)
Throws:
The specified index is less than -1.
: Returns or sets the key of the image that is used to indicate the state of the tree node when the parent has its property set to false. (Default: "")
: Returns or sets the object that contains data about the tree node. (Default: null)
: Returns or sets the text displayed in the label of the tree node. (Default: "")
When AllowHtml is set to true, the text can contain HTML content. If the text contains new lines (CRLF) but doesn't contain HTML elements (at least one "<") all CRLF are automatically substituted with "<br/>".
: Returns or sets the text that appears when the mouse pointer hovers over a tree node. (Default: "")
: Returns the parent .
: Returns or sets whether the tree node is visible. (Default: True)
Initiates the editing of the tree node label.
Throws:
is set to false.
Copies the tree node and the entire subtree rooted at this tree node.
Returns: . The that represents the cloned .
Collapses the tree node.
Collapses the tree node and optionally collapses its children.
Collapses the tree node and all its children.
Disposes the tree node.
Cancels the editing of the tree node label.
Ensures that the tree node is visible, expanding tree nodes and scrolling the tree view control as necessary.
Expands the tree node.
Expands all the child tree nodes.
Returns the with the specified handle and assigned to the specified control.
Returns: . The assigned to the with the specified handle.
Returns the number of child tree nodes.
Returns: . The number of child tree nodes assigned to the collection.
Returns a collection of referenced components or collection of components.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Deprecated: This method is deprecated. Use OnNodeDrag instead. Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Renders the client component.
Removes the current tree node from the tree view control.
Toggles the tree node to either the expanded or collapsed state.
Updates the component on the client. Overridden to repaint the tree view in design mode.
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 .
Fired when the user begins dragging a .
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 .
text
The label Text of the new tree node.
text
The label Text of the new tree node.
children
text
The label Text of the new tree node.
imageIndex
The index value of Image to display when the tree node is unselected.
selectedImageIndex
The index value of Image to display when the tree node is selected.
text
The label Text of the new tree node.
imageIndex
The index value of Image to display when the tree node is unselected.
selectedImageIndex
The index value of Image to display when the tree node is selected.
children
ignoreChildren
true to leave the child nodes in their current state; false to collapse the child nodes.
disposing
true when this method is called by the application rather than a finalizer.
cancel
True to discard the edited value.
tree
handle
The handle of the TreeNode.
includeSubTrees
true if the resulting count includes all tree nodes indirectly rooted at this tree node; otherwise, false.
items
e
A TreeViewEventArgs that contains the event data.
e
A TreeViewEventArgs that contains the event data.
e
A TreeViewEventArgs that contains the event data.
e
A NodeLabelEditEventArgs that contains the event data.
e
A TreeViewEventArgs that contains the event data.
e
A TreeViewCancelEventArgs that contains the event data.
e
A TreeViewCancelEventArgs that contains the event data.
e
A TreeViewCancelEventArgs that contains the event data.
e
A NodeLabelEditEventArgs that contains the event data.
e
A TreeViewCancelEventArgs that contains the event data.
e
An ItemDragEventArgs that contains the event data.
e
An TreeViewNodeDragEventArgs that contains the event data.
e
A TreeNodeMouseClickEventArgs that contains the event data.
e
A TreeNodeMouseClickEventArgs that contains the event data.
e
The TreeNodeMouseHoverEventArgs that contains the event data.
e
The TreeNodeMouseHoverEventArgs that contains the event data.
config
Dynamic configuration object.
Provides access to the UserData and Tag properties associated to the component implementing this interface.
Provides access to common image properties across the controls that implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
Public Class TreeNode
Inherits Component
Implements ICloneable, IHasPropertyStore, IImagepublic class TreeNode : Component, ICloneable, IHasPropertyStore, IImageAn array of child objects.