All pages
Powered by GitBook
1 of 18

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

ItemDragEventHandler

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.

Parameters

Name
Type
Description

Fired By

Name
Description

TreeNodeMouseHoverEventArgs

Wisej.Web.TreeNodeMouseHoverEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the NodeMouseHover event.

public class TreeNodeMouseHoverEventArgs : EventArgs
Public Class TreeNodeMouseHoverEventArgs
    Inherits EventArgs

Constructors

TreeNodeMouseHoverEventArgs(node)

Initializes a new instance of the class.

Name
Type
Description

Properties

Node

: Returns the node the mouse pointer is currently resting on.

Used By

Name
Description

node

TreeNode

The TreeNode the mouse pointer is currently resting on.

TreeNodeMouseHoverEventHandler

Represents the method that will handle the NodeMouseHover event of a TreeView.

TreeNodeMouseHoverEventArgs
TreeNode

sender

Object

The source of the event.

e

ItemDragEventArgs

An ItemDragEventArgs that contains the event data.

TreeNode.ItemDrag

Fired when the user begins dragging a TreeNode.

TreeView.ItemDrag

Fired when the user begins dragging a node.

NodeLabelEditEventHandler

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)

Parameters

Name
Type
Description

Fired By

Name
Description

TreeNodeMouseClickEventHandler

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)

Parameters

Name
Type
Description

Fired By

Name
Description

ItemDragEventArgs

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 : EventArgs
Public Class ItemDragEventArgs
    Inherits EventArgs

Constructors

ItemDragEventArgs(button)

Initializes a new instance of the class with a specified mouse button.

Name
Type
Description

ItemDragEventArgs(button, node)

Initializes a new instance of the class with a specified mouse button and the that is being dragged.

Name
Type
Description

Properties

Button

: Returns a value that indicates which mouse buttons were pressed during the drag operation.

Item

: Returns the that is being dragged.

Used By

Name
Description

sender

Object

The source of the event.

e

NodeLabelEditEventArgs

A NodeLabelEditEventArgs that contains the event data.

TreeNode.AfterLabelEdit

Occurs after the tree node label text is edited.

TreeNode.BeforeLabelEdit

Occurs before the tree node label text is edited.

TreeView.AfterLabelEdit

Occurs after the tree node label text is edited.

TreeView.BeforeLabelEdit

Occurs before the tree node label text is edited.

sender

Object

The source of the event.

e

TreeNodeMouseClickEventArgs

A TreeNodeMouseClickEventArgs that contains the event data.

TreeNode.NodeMouseClick

Fired when the user clicks a TreeNode with the mouse.

TreeNode.NodeMouseDoubleClick

Fired when the user double-clicks a TreeNode with the mouse.

TreeView.NodeMouseClick

Fired when the user clicks a TreeNode with the mouse.

TreeView.NodeMouseDoubleClick

Fired when the user double-clicks a TreeNode with the mouse.

button

MouseButtons

A combination of MouseButtons values that indicates which mouse buttons were pressed.

button

MouseButtons

A combination of MouseButtons values that indicates which mouse buttons were pressed.

node

TreeNode

The TreeNode being dragged.

ItemDragEventHandler

Represents the method that will handle the ItemDrag event of a TreeView control.

ItemDragEventArgs
ItemDragEventArgs
TreeNode
MouseButtons
TreeNode
TreeNode

TreeViewNodeDragEventHandler

Wisej.Web.TreeViewNodeDragEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the event of a control.

Parameters
Name
Type
Description

sender

The source of the event.

e

An that contains the event data.

Fired By

Name
Description

Fired when the user begins dragging a .

Fired when the user begins dragging a node.

ItemDrag
TreeView
Public Delegate Sub TreeViewNodeDragEventHandler(ByVal sender As [Object], ByVal e As TreeViewNodeDragEventArgs)
public delegate void TreeViewNodeDragEventHandler(Object sender, TreeViewNodeDragEventArgs e)

TreeViewCancelEventHandler

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)

Parameters

Name
Type
Description

Fired By

Name
Description

TreeNodeMouseClickEventArgs

Wisej.Web.TreeNodeMouseClickEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the

TreeViewAction

Wisej.Web.TreeViewAction

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Specifies the action that raised a event.

Fields

TreeNodeMouseHoverEventHandler

Wisej.Web.TreeNodeMouseHoverEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the event of a .

Object
TreeViewNodeDragEventArgs
TreeViewNodeDragEventArgs
TreeNode.NodeDrag
TreeNode
TreeView.NodeDrag

Occurs before the tree node is expanded.

Occurs before the tree node is selected.

sender

Object

The source of the event.

e

TreeViewCancelEventArgs

A TreeViewCancelEventArgs that contains the event data.

TreeNode.BeforeCheck

Occurs before the tree node check box is checked.

TreeNode.BeforeCollapse

Occurs before the tree node is collapsed.

TreeNode.BeforeExpand

Occurs before the tree node is expanded.

TreeNode.BeforeSelect

Occurs before the tree node is selected.

TreeView.BeforeCheck

Occurs before the tree node check box is checked.

TreeView.BeforeCollapse

Occurs before the tree node is collapsed.

and
events.
public class TreeNodeMouseClickEventArgs : MouseEventArgs
Public Class TreeNodeMouseClickEventArgs
    Inherits MouseEventArgs

Constructors

TreeNodeMouseClickEventArgs(node, button, clicks, x, y)

Initializes a new instance of the TreeNodeMouseClickEventArgs class.

Name
Type
Description

node

The node that was clicked.

button

One of the members.

clicks

The number of clicks that occurred.

x

TreeNodeMouseClickEventArgs(node, button, clicks, x, y, role)

Initializes a new instance of the TreeNodeMouseClickEventArgs class.

Name
Type
Description

node

The node that was clicked.

button

One of the members.

clicks

The number of clicks that occurred.

x

Properties

Node

TreeNode: Returns the tree node that has been clicked.

Used By

Name
Description

Represents the method that will handle the and events of a .

MouseEventArgs
TreeNodeMouseClickEventArgs
NodeMouseClick
NodeMouseDoubleClick
Name
Description

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.

Used By

Name
Description

Returns the type of action that raised the event.

Returns the type of action that raised the event.

TreeViewEventArgs
Public Enum TreeViewAction As [Enum]
public enum TreeViewAction : Enum
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

Fired By

Name
Description

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 .

NodeMouseHover
TreeView
Public Delegate Sub TreeNodeMouseHoverEventHandler(ByVal sender As [Object], ByVal e As TreeNodeMouseHoverEventArgs)
public delegate void TreeNodeMouseHoverEventHandler(Object sender, TreeNodeMouseHoverEventArgs e)

TreeViewCancelEventArgs

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 : CancelEventArgs
Public Class TreeViewCancelEventArgs
    Inherits CancelEventArgs

Constructors

TreeViewCancelEventArgs(node, cancel, action)

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.

Name
Type
Description

TreeViewCancelEventArgs(nodes, cancel, action)

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.

Name
Type
Description

Properties

Action

: Returns the type of action that raised the event.

Node

: Returns the tree node that has been checked, expanded, collapsed, or selected.

Nodes

: Returns the tree nodes that has been selected in a multiselection treeview.

Used By

Name
Description

TreeViewNodeDragEventArgs

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 : EventArgs
Public Class TreeViewNodeDragEventArgs
    Inherits EventArgs

Constructors

TreeViewNodeDragEventArgs(button)

Initializes a new instance of the class with a specified mouse button.

Name
Type
Description

TreeViewNodeDragEventArgs(button, node)

Initializes a new instance of the class with a specified mouse button and the that is being dragged.

Name
Type
Description

Properties

Button

: Returns a value that indicates which mouse buttons were pressed during the drag operation.

Node

: Returns the that is being dragged.

Used By

Name
Description

NodeLabelEditEventArgs

Wisej.Web.NodeLabelEditEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the BeforeLabelEdit and AfterLabelEdit events.

public class NodeLabelEditEventArgs : EventArgs
Public Class NodeLabelEditEventArgs
    Inherits EventArgs

Constructors

NodeLabelEditEventArgs(node)

Initializes a new instance of the class for the specified .

Name
Type
Description

NodeLabelEditEventArgs(node, label)

Initializes a new instance of the class for the specified and the specified text with which to update the tree node label.

Name
Type
Description

NodeLabelEditEventArgs(args)

Initializes a new instance of the class for the specified .

Name
Type
Description

Properties

CancelEdit

: Returns or sets whether the edit has been canceled.

Label

: Returns the new text to associate with the tree node.

Node

: Returns the tree node containing the text to edit.

Used By

Name
Description

TreeViewEventHandler

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)

Parameters

Name
Type
Description

Fired By

Name
Description
TreeView.BeforeExpand
TreeView.BeforeSelect
TreeNode
TreeNode
TreeNode
TreeViewCancelEventArgs.Action
TreeViewEventArgs.Action
Object
TreeNodeMouseHoverEventArgs
TreeNodeMouseHoverEventArgs
TreeNode.NodeMouseHover
TreeNode
TreeNode.NodeMouseLeave
TreeNode
TreeView.NodeMouseHover
TreeNode
TreeView.NodeMouseLeave
TreeNode

node

TreeNode

The TreeNode that the event is responding to.

cancel

Boolean

true to cancel the event; otherwise, false.

action

TreeViewAction

One of the TreeViewAction values indicating the type of action that raised the event.

nodes

TreeNode[]

An array of TreeNode that the event is responding to.

cancel

Boolean

true to cancel the event; otherwise, false.

action

TreeViewAction

One of the TreeViewAction values indicating the type of action that raised the event.

TreeViewCancelEventHandler

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

TreeViewCancelEventArgs
TreeViewCancelEventArgs
TreeViewAction
TreeNode
TreeNode[]

button

MouseButtons

A combination of MouseButtons values that indicates which mouse buttons were pressed.

button

MouseButtons

A combination of MouseButtons values that indicates which mouse buttons were pressed.

node

TreeNode

The TreeNode being dragged.

TreeViewNodeDragEventHandler

Represents the method that will handle the ItemDrag event of a TreeView control.

ItemDragEventArgs
ItemDragEventArgs
TreeNode
MouseButtons
TreeNode
TreeNode

node

TreeNode

The tree node containing the text to edit.

node

TreeNode

The tree node containing the text to edit.

label

String

The new text to associate with the tree node.

args

WisejEventArgs

The event arguments received from the client.

NodeLabelEditEventHandler

Represents the method that will handle the BeforeLabelEdit and AfterLabelEdit events of a TreeView control.

NodeLabelEditEventArgs
TreeNode
NodeLabelEditEventArgs
TreeNode
NodeLabelEditEventArgs
TreeNode
Boolean
String
TreeNode

The x-coordinate where the click occurred.

y

Int32

The y-coordinate where the click occurred.

The x-coordinate where the click occurred.

y

Int32

The y-coordinate where the click occurred.

role

String

The internal role assigned to the element that generated the pointer event.

TreeNode
MouseButtons
MouseButtons
Int32
Int32
TreeNode
MouseButtons
MouseButtons
Int32
Int32
TreeNodeMouseClickEventHandler
NodeMouseClick
NodeMouseDoubleClick
TreeView

Occurs after the tree node is expanded.

Occurs after the tree node is selected.

sender

Object

The source of the event.

e

TreeViewEventArgs

A TreeViewEventArgs that contains the event data.

TreeNode.AfterCheck

Occurs after the tree node check box is checked.

TreeNode.AfterCollapse

Occurs after the tree node is collapsed.

TreeNode.AfterExpand

Occurs after the tree node is expanded.

TreeNode.AfterSelect

Occurs after the tree node is selected.

TreeView.AfterCheck

Occurs after the tree node check box is checked.

TreeView.AfterCollapse

Occurs after the tree node is collapsed.

TreeView.AfterExpand
TreeView.AfterSelect

TreeViewEventArgs

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 : EventArgs
Public Class TreeViewEventArgs
    Inherits EventArgs

Constructors

TreeViewEventArgs(node)

Initializes a new instance of the class for the specified tree node.

Name
Type
Description

TreeViewEventArgs(node, action)

Initializes a new instance of the class for the specified tree node and with the specified type of action that raised the event.

Name
Type
Description

TreeViewEventArgs(nodes, action)

Initializes a new instance of the class for the specified tree node and with the specified type of action that raised the event.

Name
Type
Description

Properties

Action

: Returns the type of action that raised the event.

Node

: Returns the tree node that has been checked, expanded, collapsed, or selected.

Nodes

: Returns the tree nodes that have been selected in a multi-selection treeview.

Used By

Name
Description

node

TreeNode

The TreeNode that the event is responding to.

node

TreeNode

The TreeNode that the event is responding to.

action

TreeViewAction

The type of TreeViewAction that raised the event.

nodes

TreeNode[]

An array of TreeNode that the event is responding to.

action

TreeViewAction

The type of TreeViewAction that raised the event.

TreeViewEventHandler

Represents the method that will handle the AfterCheck, AfterCollapse, AfterExpand, or AfterSelect event of a TreeView.

TreeViewEventArgs
TreeViewEventArgs
TreeViewEventArgs
TreeViewAction
TreeNode
TreeNode[]

TreeView

Wisej.Web.TreeView

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

  • Control

    • TreeView

Displays a hierarchical collection of labeled items, each represented by a TreeNode.

Constructors

TreeView()

Initializes a new instance of the class.

Properties

BorderStyle

: Gets or sets the border style of the tree view control. (Default: Solid)

CheckBoxes

: 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)

HideNodeImages

: Returns or sets whether all the node images are hidden. Tree nodes may override this property setting the property. (Default: False)

ImageIndex

: 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.

ImageKey

: Returns or sets the key of the default image for each node in the control when it is in an unselected state. (Default: "")

ImageList

: Returns or sets the that contains the objects that are used by the tree nodes. (Default: null)

Indent

: 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.

ItemHeight

: 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.

LabelEdit

: Returns or sets whether the label text of the tree nodes can be edited. (Default: False)

Nodes

: Returns the collection of tree nodes that are assigned to the tree view control.

OpenedImageIndex

: 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.

OpenedImageKey

: Returns or sets the key of the default image shown when a is expanded. (Default: "")

PathSeparator

: Returns or sets the delimiter string that the tree node path uses. (Default: "\")

PrefetchItems

: 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)

RightClickSelection

: 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 .

Scrollable

: Returns or sets whether the tree view control displays scroll bars when they are needed. (Default: True)

SelectedImageIndex

: 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.

SelectedImageKey

: Returns or sets the key of the default image shown when a is selected. (Default: "")

SelectedNode

: Returns or sets the tree node that is currently selected in the tree view control.

SelectedNodes

: 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.

SelectionMode

: Returns or sets the method in which items are selected in the . (Default: One)

ShowNodeToolTips

: Returns or sets a value indicating ToolTips are shown when the mouse pointer hovers over a . (Default: False)

ShowPlusMinus

: Returns or sets whether plus-sign (+) and minus-sign (-) buttons are displayed next to tree nodes that contain child tree nodes. (Default: True)

ShowRootLines

: 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.

Sorted

: Returns or sets whether the tree nodes in the tree view are sorted. (Default: False)

StateImageList

: Returns or sets the image list that is used to indicate the state of the and its nodes. (Default: null)

Tools

: Returns the instance of associated with this control.

TopNode

: Returns or sets the first fully-visible tree node in the tree view control.

TreeViewNodeSorter

: Returns or sets the implementation of to perform a custom sort of the nodes.

VirtualScroll

: 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.

Methods

BeginUpdate()

This method has no effect on this control.

ClearSelected()

Unselects all nodes in the .

CollapseAll()

Collapses all the tree nodes.

Dispose(disposing)

Disposes the control.

Parameter
Type
Description

EndUpdate()

This method has no effect on this control.

ExpandAll()

Expands all the tree nodes.

GetNodeCount(includeSubTrees)

Retrieves the number of tree nodes, optionally including those in all subtrees, assigned to the tree view control.

Parameter
Type
Description

Returns: . The number of tree nodes, optionally including those in all subtrees, assigned to the tree view control.

GetSelected(node)

Returns a value indicating whether the specified is selected.

Parameter
Type
Description

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 .

OnAddReferences(items)

Returns a collection of referenced components or collection of components.

Parameter
Type
Description

OnAfterCheck(e)

Fires the event.

Parameter
Type
Description

OnAfterCollapse(e)

Fires the event.

Parameter
Type
Description

OnAfterExpand(e)

Fires the event.

Parameter
Type
Description

OnAfterLabelEdit(e)

Fires the event.

Parameter
Type
Description

OnAfterSelect(e)

Fires the event.

Parameter
Type
Description

OnBeforeCheck(e)

Fires the event.

Parameter
Type
Description

OnBeforeCollapse(e)

Fires the event.

Parameter
Type
Description

OnBeforeExpand(e)

Fires the event.

Parameter
Type
Description

OnBeforeLabelEdit(e)

Fires the event.

Parameter
Type
Description

OnBeforeSelect(e)

Fires the event.

Parameter
Type
Description

OnCreateControl()

Creates and register this control and all its children.

OnItemDrag(e)

Deprecated: This method is deprecated. Use OnNodeDrag instead. Fires the event.

Parameter
Type
Description

OnNodeDrag(e)

Fires the event.

Parameter
Type
Description

OnNodeMouseClick(e)

Fires the event.

Parameter
Type
Description

OnNodeMouseDoubleClick(e)

Fires the event.

Parameter
Type
Description

OnNodeMouseHover(e)

Fires the event.

Parameter
Type
Description

OnNodeMouseLeave(e)

Fires the event.

Parameter
Type
Description

OnToolClick(e)

Fires the ToolClick event.

Parameter
Type
Description

OnWebEvent(e)

Processes the event from the client.

Parameter
Type
Description

OnWebRender(config)

Renders the client component.

Parameter
Type
Description

OnWebUpdate(state)

Updates the client component using the state information.

Parameter
Type
Description

SetSelected(node, selected)

Selects or clears the selection for the specified in a .

Parameter
Type
Description

Throws:

  • The specified node is null.

  • The specified node is currently assigned to another .

  • The property is set to None.

Sort()

Sorts the items in control.

Events

AfterCheck

Occurs after the tree node check box is checked.

AfterCollapse

Occurs after the tree node is collapsed.

AfterExpand

Occurs after the tree node is expanded.

AfterLabelEdit

Occurs after the tree node label text is edited.

AfterSelect

Occurs after the tree node is selected.

BeforeCheck

Occurs before the tree node check box is checked.

BeforeCollapse

Occurs before the tree node is collapsed.

BeforeExpand

Occurs before the tree node is expanded.

BeforeLabelEdit

Occurs before the tree node label text is edited.

BeforeSelect

Occurs before the tree node is selected.

ItemDrag

Deprecated: This event is deprecated. Use NodeDrag instead. Fired when the user begins dragging a node.

NodeDrag

Fired when the user begins dragging a node.

NodeMouseClick

Fired when the user clicks a with the mouse.

NodeMouseDoubleClick

Fired when the user double-clicks a with the mouse.

NodeMouseHover

Fired when the mouse hovers over a .

NodeMouseLeave

Fired when the mouse leaves the .

ToolClick

Fired when a is clicked.

Implements

Name
Description

disposing

Boolean

true when this method is called by the application rather than a finalizer.

includeSubTrees

Boolean

true to count the TreeNode items that the subtrees contain; otherwise, false.

node

TreeNode

The TreeNode to check.

items

IList

e

TreeViewEventArgs

A TreeViewEventArgs that contains the event data.

e

TreeViewEventArgs

A TreeViewEventArgs that contains the event data.

e

TreeViewEventArgs

A TreeViewEventArgs that contains the event data.

e

NodeLabelEditEventArgs

A NodeLabelEditEventArgs that contains the event data.

e

TreeViewEventArgs

A TreeViewEventArgs that contains the event data.

e

TreeViewCancelEventArgs

A TreeViewCancelEventArgs that contains the event data.

e

TreeViewCancelEventArgs

A TreeViewCancelEventArgs that contains the event data.

e

TreeViewCancelEventArgs

A TreeViewCancelEventArgs that contains the event data.

e

NodeLabelEditEventArgs

A NodeLabelEditEventArgs that contains the event data.

e

TreeViewCancelEventArgs

A TreeViewCancelEventArgs that contains the event data.

e

ItemDragEventArgs

An ItemDragEventArgs that contains the event data.

e

TreeViewNodeDragEventArgs

An TreeViewNodeDragEventArgs that contains the event data.

e

TreeNodeMouseClickEventArgs

A TreeNodeMouseClickEventArgs that contains the event data.

e

TreeNodeMouseClickEventArgs

A TreeNodeMouseClickEventArgs that contains the event data.

e

TreeNodeMouseHoverEventArgs

The TreeNodeMouseHoverEventArgs that contains the event data.

e

TreeNodeMouseHoverEventArgs

The TreeNodeMouseHoverEventArgs that contains the event data.

e

ToolClickEventArgs

A ToolClickEventArgs that contains the event data.

e

WisejEventArgs

Event arguments.

config

Object

Dynamic configuration object.

state

Object

Dynamic state object.

node

TreeNode

The TreeNode to select.

selected

Boolean

True to select the specified TreeNode, otherwise false to deselect it.

IUserData

Provides access to the UserData and Tag properties associated to the component implementing this interface.

IBindableComponent

Bindable components implement this interface.

IDropTarget

Controls that support drag & drop operations implement this interface.

IWisejComponent

All wisej components implement this interface.

IWisejControl

All wisej controls derived from the Control class must implement this interface.

IWisejSerializable

Allows an object to serialize itself.

Public Class TreeView
    Inherits Control
TreeView
BorderStyle
Boolean
CheckBox
Boolean
HideNodeImage
Int32
ArgumentOutOfRangeException
String
TreeView
ImageList
ImageList
Image
Int32
ArgumentOutOfRangeException
Int32
ArgumentOutOfRangeException
Boolean
TreeNodeCollection
Int32
TreeNode
ArgumentException
String
TreeNode
String
Int32
VirtualScroll
Boolean
TreeNode
RightClickSelection
Boolean
Int32
TreeNode
ArgumentException
String
TreeNode
TreeNode
TreeNode[]
SelectionMode
TreeView
Boolean
TreeNode
Boolean
Boolean
Boolean
ImageList
TreeView
ComponentToolCollection
ComponentToolCollection
TreeNode
IComparer<TreeNode>
IComparer
TreeView
Boolean
TreeView
TreeView
VirtualScroll
VirtualScroll
PrefetchItems
TreeView
Int32
TreeNode
Boolean
TreeNode
TreeView
ArgumentNullException
ArgumentException
TreeView
AfterCheck
AfterCollapse
AfterExpand
AfterLabelEdit
AfterSelect
BeforeCheck
BeforeCollapse
BeforeExpand
BeforeLabelEdit
BeforeSelect
ItemDrag
NodeDrag
NodeMouseClick
NodeMouseDoubleClick
NodeMouseHover
NodeMouseLeave
TreeNode
TreeView
ArgumentNullException
ArgumentException
TreeView
InvalidOperationException
SelectionMode
TreeView
TreeViewEventHandler
TreeViewEventHandler
TreeViewEventHandler
NodeLabelEditEventHandler
TreeViewEventHandler
TreeViewCancelEventHandler
TreeViewCancelEventHandler
TreeViewCancelEventHandler
NodeLabelEditEventHandler
TreeViewCancelEventHandler
ItemDragEventHandler
TreeViewNodeDragEventHandler
TreeNodeMouseClickEventHandler
TreeNode
TreeNodeMouseClickEventHandler
TreeNode
TreeNodeMouseHoverEventHandler
TreeNode
TreeNodeMouseHoverEventHandler
TreeNode
ToolClickEventHandler
ComponentTool
public class TreeView : Control

TreeNodeCollection

Wisej.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)

Properties

Count

: Returns the total number of objects in the collection.

IsReadOnly

: Returns a value indicating whether the collection is read-only.

Item(index)

: 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.

Item(key)

: Returns the with the specified key from the collection.

Methods

Add(text)

Adds a new tree node with the specified label text to the end of the current .

Parameter
Type
Description

Returns: . A that represents the tree node being added to the collection.

Add(key, text)

Creates a new with the specified key and text, and adds it to the collection.

Parameter
Type
Description

Returns: . The that was added to the collection.

Add(key, text, imageIndex)

Creates a with the specified key, text, and image, and adds it to the collection.

Parameter
Type
Description

Returns: . The that was added to the collection.

Add(key, text, imageKey)

Creates a with the specified key, text, and image, and adds it to the collection.

Parameter
Type
Description

Returns: . The that was added to the collection.

Add(key, text, imageIndex, selectedImageIndex)

Creates a with the specified key, text, and images, and adds it to the collection.

Parameter
Type
Description

Returns: . The tree node that was added to the collection.

Add(key, text, imageKey, selectedImageKey)

Creates a with the specified key, text, and images, and adds it to the collection.

Parameter
Type
Description

Returns: . The that was added to the collection.

Add(node)

Adds a previously created to the end of the .

Parameter
Type
Description

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.

AddRange(nodes)

Adds an array of previously created objects to the collection.

Parameter
Type
Description

Throws:

  • nodes is null or one of the items in the collection is null.

  • nodes is the child of another .

Clear()

Removes all tree nodes from the collection.

Clear(dispose)

Removes and disposes all tree nodes from the collection.

Parameter
Type
Description

Contains(node)

Determines whether the specified is a member of the collection.

Parameter
Type
Description

Returns: . true if the is a member of the collection; otherwise, false.

ContainsKey(key)

Determines whether the collection contains a with the specified key.

Parameter
Type
Description

Returns: . true to indicate the collection contains a with the specified key; otherwise, false.

CopyTo(dest, index)

Copies the entire collection into an existing array at a specified location within the array.

Parameter
Type
Description

Find(key, searchAllChildren)

Finds the objects with specified key, optionally searching sub nodes.

Parameter
Type
Description

Returns: . An array of objects whose property matches the specified key.

GetEnumerator()

Returns an enumerator that can be used to iterate through the .

Returns: . An that represents the .

IndexOf(node)

Returns the index of the specified in the collection.

Parameter
Type
Description

Returns: . The zero-based index of the item found in the tree node collection; otherwise, -1.

IndexOfKey(key)

Returns the index of the first occurrence of a with the specified key.

Parameter
Type
Description

Returns: . The zero-based index of the first occurrence of a tree node with the specified key, if found; otherwise, -1.

Insert(index, node)

Inserts an existing tree node into the tree node collection at the specified location.

Parameter
Type
Description

Throws:

  • node is null.

  • The node is currently assigned to another or it is a parent node causing a circular reference.

Insert(index, text)

Creates a with the specified text and inserts it at the specified index.

Parameter
Type
Description

Returns: . The that was inserted in the collection.

Insert(index, key, text)

Creates a tree node with the specified text and key, and inserts it into the collection.

Parameter
Type
Description

Returns: . The that was inserted in the collection.

Insert(index, key, text, imageIndex)

Creates a with the specified key, text, and image, and inserts it into the collection at the specified index.

Parameter
Type
Description

Returns: . The that was inserted in the collection.

Insert(index, key, text, imageKey)

Creates a with the specified key, text, and image, and inserts it into the collection at the specified index.

Parameter
Type
Description

Returns: . The that was inserted in the collection.

Insert(index, key, text, imageIndex, selectedImageIndex)

Creates a with the specified key, text, and images, and inserts it into the collection at the specified index.

Parameter
Type
Description

Returns: . The that was inserted in the collection.

Insert(index, key, text, imageKey, selectedImageKey)

Creates a with the specified key, text, and images, and inserts it into the collection at the specified index.

Parameter
Type
Description

Returns: . The that was inserted in the collection.

OnCollectionChanged(action, element)

Fires the event.

Parameter
Type
Description

Remove(node)

Removes the specified from the .

Parameter
Type
Description

Throws:

  • node is null.

RemoveAt(index)

Removes a tree node from the tree node collection at a specified index.

Parameter
Type
Description

RemoveByKey(key)

Removes the with the specified key from the collection.

Parameter
Type
Description

Events

CollectionChanged

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

String

The label text displayed by the TreeNode.

key

String

The name of the TreeNode.

text

String

The text to display in the TreeNode.

key

String

The name of the TreeNode.

text

String

The text to display in the TreeNode.

imageIndex

Int32

The index of the image to display in the TreeNode.

key

String

The name of the TreeNode.

text

String

The text to display in the TreeNode.

imageKey

String

The image to display in the TreeNode.

key

String

The name of the TreeNode.

text

String

The text to display in the TreeNode.

imageIndex

Int32

The index of the image to display in the TreeNode.

selectedImageIndex

Int32

key

String

The name of the TreeNode.

text

String

The text to display in the TreeNode.

imageKey

String

The key of the image to display in the TreeNode.

selectedImageKey

String

node

TreeNode

The TreeNode to add to the collection.

nodes

TreeNode[]

An array of TreeNode objects representing the tree nodes to add to the collection.

dispose

Boolean

Indicates whether to dispose the tree nodes removed from the collection.

node

TreeNode

The TreeNode to locate in the collection.

key

String

The name of the TreeNode to search for.

dest

Array

The destination array.

index

Int32

The index in the destination array at which storing begins.

key

String

The name of the tree node to search for.

searchAllChildren

Boolean

true to search child nodes of tree nodes; otherwise, false.

node

TreeNode

The TreeNode to locate in the collection.

key

String

The name of the tree node to search for.

index

Int32

The indexed location within the collection to insert the TreeNode.

node

TreeNode

The TreeNode to insert into the collection.

index

Int32

The location within the collection to insert the TreeNode.

text

String

The text to display in the TreeNode.

index

Int32

The location within the collection to insert the TreeNode.

key

String

The name of the TreeNode.

text

String

The text to display in the TreeNode.

index

Int32

The location within the collection to insert the TreeNode.

key

String

The name of the TreeNode.

text

String

The text to display in the TreeNode.

imageIndex

Int32

index

Int32

The location within the collection to insert the TreeNode.

key

String

The name of the TreeNode.

text

String

The text to display in the TreeNode.

imageKey

String

index

Int32

The location within the collection to insert the TreeNode.

key

String

The name of the TreeNode.

text

String

The text to display in the TreeNode.

imageIndex

Int32

index

Int32

The location within the collection to insert the TreeNode.

key

String

The name of the TreeNode.

text

String

The text to display in the TreeNode.

imageKey

String

The key of the image to display in the TreeNode.

action

CollectionChangeAction

One of CollectionChangeAction indicating the reason the collection has changed.

element

Object

The element that was added or removed from the collection, or null.

node

TreeNode

The TreeNode to remove.

index

Int32

The index of the TreeNode to remove.

key

String

The name of the tree node to remove from the collection.

Int32
TreeNode
Boolean
TreeNode
TreeNode
ArgumentException
TreeNode
ArgumentNullException
ArgumentOutOfRangeException
TreeNode
TreeNode
TreeNodeCollection
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNodeCollection
Int32
TreeNode
TreeNodeCollection
ArgumentNullException
ArgumentException
TreeView
TreeNode
ArgumentNullException
ArgumentException
TreeView
TreeNode
Boolean
TreeNode
TreeNode
Boolean
TreeNode
TreeNode
TreeNode[]
TreeNode
Name
TreeNodeCollection
IEnumerator<TreeNode>
IEnumerator
TreeNodeCollection
TreeNode
Int32
TreeNode
Int32
ArgumentNullException
ArgumentException
TreeView
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
CollectionChanged
TreeNode
TreeNodeCollection
ArgumentNullException
TreeNode
CollectionChangeEventHandler

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 .

TreeNode
TreeNode
TreeNode
Int32
TreeNode
String
TreeNode

TreeNode

Wisej.Web.TreeNode

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

  • Component

    • TreeNode

Represents a node of a TreeView.

Constructors

TreeNode()

Initializes a new instance of the class.

TreeNode(text)

Initializes a new instance of the class with the specified label text and child tree nodes.

Name
Type
Description

TreeNode(text, children)

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.

Name
Type
Description

TreeNode(text, imageIndex, selectedImageIndex)

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.

Name
Type
Description

TreeNode(text, imageIndex, selectedImageIndex, children)

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.

Name
Type
Description

Properties

AllowHtml

: Returns or sets a value indicating that the tree node can display HTML in the Text property. (Default: False)

BackColor

: Returns or sets the background color of the tree node.

CheckBox

: Returns or sets whether a checkbox is displayed next to the tree node. (Default: null)

Checked

: Returns or sets whether the tree node is in a checked state. (Default: False)

CheckState

: Returns or sets the checked state of the tree node. (Default: Unchecked)

ContextMenu

: Returns the shortcut menu that is associated with this tree node. (Default: null)

Enabled

: Returns or sets whether the tree node is in enabled. (Default: True)

Events

: Returns the list of event handlers that are attached to this .

FirstNode

: Returns the first child tree node in the tree node collection.

ForeColor

: Returns or sets the foreground color of the tree node.

FullPath

: Returns the path from the root tree node to the current tree node.

HideNodeImage

: Returns or sets a valid indicating whether the node image next to the tree node is hidden. (Default: null)

ImageIndex

: 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.

ImageKey

: Returns or sets the key for the image associated with this tree node when the node is in an unselected state. (Default: "")

ImageList

: Returns the that contains the images displayed in the .

Index

: Returns the position of the tree node in the tree node collection.

IsEditing

: Returns a value indicating whether the tree node is in an editable state.

IsEnabled

: Returns or sets whether the tree node is enabled.

IsExpanded

: Returns a value indicating whether the tree node is in the expanded state.

IsParent

: 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.

IsSelected

: Returns a value indicating whether the tree node is in the selected state.

LastNode

: Returns the last child tree node.

LazyLoading

: 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 .

Level

: Returns the zero-based depth of the tree node in the control.

Name

: Returns or sets the name of the tree node.

NextNode

: Returns the next sibling tree node.

NextVisibleNode

: Returns the next visible tree node.

NodeCount

: Returns the number of child nodes without forcing the creation of the collection.Since 3.1

NodeFont

: Returns or sets the font that is used to display the text on the tree node label.

Nodes

: Returns the collection of tree nodes assigned to the current tree node.

OpenedImageIndex

: 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.

OpenedImageKey

: Returns or sets the key of the image that is used when the tree node is expanded. (Default: "")

Parent

: Returns the parent tree node of the current tree node.

PrevNode

: Returns the previous sibling tree node.

PrevVisibleNode

: Returns the previous visible tree node.

SelectedImageIndex

: 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.

SelectedImageKey

: Returns or sets the key of the image displayed in the tree node when it is in a selected state. (Default: "")

ShowLoader

: 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)

StateImageIndex

: 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.

StateImageKey

: 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: "")

Tag

: Returns or sets the object that contains data about the tree node. (Default: null)

Text

: 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/>".

ToolTipText

: Returns or sets the text that appears when the mouse pointer hovers over a tree node. (Default: "")

TreeView

: Returns the parent .

Visible

: Returns or sets whether the tree node is visible. (Default: True)

Methods

BeginEdit()

Initiates the editing of the tree node label.

Throws:

  • is set to false.

Clone()

Copies the tree node and the entire subtree rooted at this tree node.

Returns: . The that represents the cloned .

Collapse()

Collapses the tree node.

Collapse(ignoreChildren)

Collapses the tree node and optionally collapses its children.

Parameter
Type
Description

CollapseAll()

Collapses the tree node and all its children.

Dispose(disposing)

Disposes the tree node.

Parameter
Type
Description

EndEdit(cancel)

Cancels the editing of the tree node label.

Parameter
Type
Description

EnsureVisible()

Ensures that the tree node is visible, expanding tree nodes and scrolling the tree view control as necessary.

Expand()

Expands the tree node.

ExpandAll()

Expands all the child tree nodes.

FromHandle(tree, handle)

Returns the with the specified handle and assigned to the specified control.

Parameter
Type
Description

Returns: . The assigned to the with the specified handle.

GetNodeCount(includeSubTrees)

Returns the number of child tree nodes.

Parameter
Type
Description

Returns: . The number of child tree nodes assigned to the collection.

OnAddReferences(items)

Returns a collection of referenced components or collection of components.

Parameter
Type
Description

OnAfterCheck(e)

Fires the event.

Parameter
Type
Description

OnAfterCollapse(e)

Fires the event.

Parameter
Type
Description

OnAfterExpand(e)

Fires the event.

Parameter
Type
Description

OnAfterLabelEdit(e)

Fires the event.

Parameter
Type
Description

OnAfterSelect(e)

Fires the event.

Parameter
Type
Description

OnBeforeCheck(e)

Fires the event.

Parameter
Type
Description

OnBeforeCollapse(e)

Fires the event.

Parameter
Type
Description

OnBeforeExpand(e)

Fires the event.

Parameter
Type
Description

OnBeforeLabelEdit(e)

Fires the event.

Parameter
Type
Description

OnBeforeSelect(e)

Fires the event.

Parameter
Type
Description

OnItemDrag(e)

Deprecated: This method is deprecated. Use OnNodeDrag instead. Fires the event.

Parameter
Type
Description

OnNodeDrag(e)

Fires the event.

Parameter
Type
Description

OnNodeMouseClick(e)

Fires the event.

Parameter
Type
Description

OnNodeMouseDoubleClick(e)

Fires the event.

Parameter
Type
Description

OnNodeMouseHover(e)

Fires the event.

Parameter
Type
Description

OnNodeMouseLeave(e)

Fires the event.

Parameter
Type
Description

OnWebRender(config)

Renders the client component.

Parameter
Type
Description

Remove()

Removes the current tree node from the tree view control.

Toggle()

Toggles the tree node to either the expanded or collapsed state.

Update()

Updates the component on the client. Overridden to repaint the tree view in design mode.

Events

AfterCheck

Occurs after the tree node check box is checked.

AfterCollapse

Occurs after the tree node is collapsed.

AfterExpand

Occurs after the tree node is expanded.

AfterLabelEdit

Occurs after the tree node label text is edited.

AfterSelect

Occurs after the tree node is selected.

BeforeCheck

Occurs before the tree node check box is checked.

BeforeCollapse

Occurs before the tree node is collapsed.

BeforeExpand

Occurs before the tree node is expanded.

BeforeLabelEdit

Occurs before the tree node label text is edited.

BeforeSelect

Occurs before the tree node is selected.

ItemDrag

Deprecated: This event is deprecated. Use NodeDrag instead. Fired when the user begins dragging a .

NodeDrag

Fired when the user begins dragging a .

NodeMouseClick

Fired when the user clicks a with the mouse.

NodeMouseDoubleClick

Fired when the user double-clicks a with the mouse.

NodeMouseHover

Fired when the mouse hovers over a .

NodeMouseLeave

Fired when the mouse leaves the .

Implements

Name
Description

text

String

The label Text of the new tree node.

text

String

The label Text of the new tree node.

children

TreeNode[]

text

String

The label Text of the new tree node.

imageIndex

Int32

The index value of Image to display when the tree node is unselected.

selectedImageIndex

Int32

The index value of Image to display when the tree node is selected.

text

String

The label Text of the new tree node.

imageIndex

Int32

The index value of Image to display when the tree node is unselected.

selectedImageIndex

Int32

The index value of Image to display when the tree node is selected.

children

TreeNode[]

ignoreChildren

Boolean

true to leave the child nodes in their current state; false to collapse the child nodes.

disposing

Boolean

true when this method is called by the application rather than a finalizer.

cancel

Boolean

True to discard the edited value.

tree

TreeView

The TreeView that contains the TreeNode.

handle

IntPtr

The handle of the TreeNode.

includeSubTrees

Boolean

true if the resulting count includes all tree nodes indirectly rooted at this tree node; otherwise, false.

items

IList

e

TreeViewEventArgs

A TreeViewEventArgs that contains the event data.

e

TreeViewEventArgs

A TreeViewEventArgs that contains the event data.

e

TreeViewEventArgs

A TreeViewEventArgs that contains the event data.

e

NodeLabelEditEventArgs

A NodeLabelEditEventArgs that contains the event data.

e

TreeViewEventArgs

A TreeViewEventArgs that contains the event data.

e

TreeViewCancelEventArgs

A TreeViewCancelEventArgs that contains the event data.

e

TreeViewCancelEventArgs

A TreeViewCancelEventArgs that contains the event data.

e

TreeViewCancelEventArgs

A TreeViewCancelEventArgs that contains the event data.

e

NodeLabelEditEventArgs

A NodeLabelEditEventArgs that contains the event data.

e

TreeViewCancelEventArgs

A TreeViewCancelEventArgs that contains the event data.

e

ItemDragEventArgs

An ItemDragEventArgs that contains the event data.

e

TreeViewNodeDragEventArgs

An TreeViewNodeDragEventArgs that contains the event data.

e

TreeNodeMouseClickEventArgs

A TreeNodeMouseClickEventArgs that contains the event data.

e

TreeNodeMouseClickEventArgs

A TreeNodeMouseClickEventArgs that contains the event data.

e

TreeNodeMouseHoverEventArgs

The TreeNodeMouseHoverEventArgs that contains the event data.

e

TreeNodeMouseHoverEventArgs

The TreeNodeMouseHoverEventArgs that contains the event data.

config

Object

Dynamic configuration object.

IUserData

Provides access to the UserData and Tag properties associated to the component implementing this interface.

IImage

Provides access to common image properties across the controls that implement this interface.

IWisejComponent

All wisej components implement this interface.

IWisejSerializable

Allows an object to serialize itself.

Public Class TreeNode
    Inherits Component
    Implements ICloneable, IHasPropertyStore, IImage
TreeNode
TreeNode
TreeNode
TreeNode
TreeNode
Boolean
Color
Nullable<Boolean>
Boolean
CheckState
ContextMenu
Boolean
EventHandlerList
Component
TreeNode
Color
String
Nullable<Boolean>
Int32
ArgumentOutOfRangeException
String
ImageList
ImageList
TreeNode
Int32
Boolean
Boolean
Boolean
Boolean
Boolean
TreeNode
Boolean
ShowLoader
Int32
TreeView
String
TreeNode
TreeNode
Int32
Font
TreeNodeCollection
Int32
ArgumentOutOfRangeException
String
TreeNode
TreeNode
TreeNode
Int32
ArgumentOutOfRangeException
String
Boolean
Int32
TreeView
CheckBoxes
ArgumentOutOfRangeException
String
TreeView
CheckBoxes
Object
String
String
TreeView
TreeView
Boolean
InvalidOperationException
LabelEdit
Object
Object
TreeNode
TreeNode
TreeView
TreeNode
TreeNode
TreeView
Int32
Nodes
AfterCheck
AfterCollapse
AfterExpand
AfterLabelEdit
AfterSelect
BeforeCheck
BeforeCollapse
BeforeExpand
BeforeLabelEdit
BeforeSelect
ItemDrag
NodeDrag
NodeMouseClick
NodeMouseDoubleClick
NodeMouseHover
NodeMouseLeave
TreeViewEventHandler
TreeViewEventHandler
TreeViewEventHandler
NodeLabelEditEventHandler
TreeViewEventHandler
TreeViewCancelEventHandler
TreeViewCancelEventHandler
TreeViewCancelEventHandler
NodeLabelEditEventHandler
TreeViewCancelEventHandler
ItemDragEventHandler
TreeNode
TreeViewNodeDragEventHandler
TreeNode
TreeNodeMouseClickEventHandler
TreeNode
TreeNodeMouseClickEventHandler
TreeNode
TreeNodeMouseHoverEventHandler
TreeNode
TreeNodeMouseHoverEventHandler
TreeNode
public class TreeNode : Component, ICloneable, IHasPropertyStore, IImage

An array of child objects.

TreeNode