Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Web.TreeNode
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a node of a TreeView.
Initializes a new instance of the TreeNode class.
Initializes a new instance of the TreeNode class with the specified label text.
Name | Type | Description |
---|---|---|
Initializes a new instance of the TreeNode class with the specified label text and child tree nodes.
Name | Type | Description |
---|---|---|
Initializes a new instance of the TreeNode 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 TreeNode class with the specified label text, child tree nodes, and images to display when the tree node is in a selected and unselected state.
Boolean: Returns or sets a value indicating that the tree node can display HTML in the Text property. (Default: False
)
Color: Returns or sets the background color of the tree node.
Nullable<Boolean>: Returns or sets whether a checkbox is displayed next to the tree node. (Default: null
)
Boolean: 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
)
Boolean: Returns or sets whether the tree node is in enabled. (Default: True
)
TreeNode: Returns the first child tree node in the tree node collection.
Color: Returns or sets the foreground color of the tree node.
String: Returns the path from the root tree node to the current tree node.
Nullable<Boolean>: Returns or sets a valid indicating whether the node image next to the tree node is hidden. (Default: null
)
Int32: Returns or sets the image list index value of the image displayed when the tree node is in the unselected state. (Default: -1
)
Throws:
ArgumentOutOfRangeException The specified index is less than -1.
String: 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 ImageList that contains the images displayed in the TreeNode.
Int32: Returns the position of the tree node in the tree node collection.
Boolean: Returns a value indicating whether the tree node is in an editable state.
Boolean: Returns or sets whether the tree node is enabled.
Boolean: Returns a value indicating whether the tree node is in the expanded state.
Boolean: 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.
Boolean: Returns a value indicating whether the tree node is in the selected state.
TreeNode: Returns the last child tree node.
Boolean: 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 ShowLoader.
Int32: Returns the zero-based depth of the tree node in the TreeView control.
String: Returns or sets the name of the tree node.
TreeNode: Returns the next sibling tree node.
TreeNode: Returns the next visible tree node.
Int32: Returns the number of child nodes without forcing the creation of the collection. Since 3.1
Font: Returns or sets the font that is used to display the text on the tree node label.
TreeNodeCollection: Returns the collection of tree nodes assigned to the current tree node.
Int32: Returns or sets the index of the image that is used when the tree node is expanded. (Default: -1
)
Throws:
ArgumentOutOfRangeException The specified index is less than -1.
String: Returns or sets the key of the image that is used when the tree node is expanded. (Default: ""
)
TreeNode: Returns the parent tree node of the current tree node.
TreeNode: Returns the previous sibling tree node.
TreeNode: Returns the previous visible tree node.
Int32: 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:
ArgumentOutOfRangeException The specified index is less than -1.
String: Returns or sets the key of the image displayed in the tree node when it is in a selected state. (Default: ""
)
Boolean: 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
)
Int32: Returns or sets the index of the image that is used to indicate the state of the tree node when the parent TreeView has its CheckBoxes property set to false. (Default: -1
)
Throws:
ArgumentOutOfRangeException The specified index is less than -1.
String: Returns or sets the key of the image that is used to indicate the state of the tree node when the parent TreeView has its CheckBoxes property set to false. (Default: ""
)
Object: Returns or sets the object that contains data about the tree node. (Default: null
)
String: 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/>".
String: Returns or sets the text that appears when the mouse pointer hovers over a tree node. (Default: ""
)
TreeView: Returns the parent TreeView.
Boolean: Returns or sets whether the tree node is visible. (Default: True
)
Initiates the editing of the tree node label.
Throws:
InvalidOperationException LabelEdit is set to false.
Copies the tree node and the entire subtree rooted at this tree node.
Returns: Object. The Object that represents the cloned TreeNode.
Collapses the tree node.
Collapses the tree node and optionally collapses its children.
Collapses the tree node and all its children.
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 TreeNode with the specified handle and assigned to the specified TreeView control.
Returns: TreeNode. The TreeNode assigned to the TreeView with the specified handle.
Returns the number of child tree nodes.
Returns: Int32. The number of child tree nodes assigned to the Nodes collection.
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.
TreeViewEventHandler Occurs after the tree node check box is checked.
TreeViewEventHandler Occurs after the tree node is collapsed.
TreeViewEventHandler Occurs after the tree node is expanded.
NodeLabelEditEventHandler Occurs after the tree node label text is edited.
TreeViewEventHandler Occurs after the tree node is selected.
TreeViewCancelEventHandler Occurs before the tree node check box is checked.
TreeViewCancelEventHandler Occurs before the tree node is collapsed.
TreeViewCancelEventHandler Occurs before the tree node is expanded.
NodeLabelEditEventHandler Occurs before the tree node label text is edited.
TreeViewCancelEventHandler Occurs before the tree node is selected.
TreeViewNodeDragEventHandler Fired when the user begins dragging a TreeNode.
TreeNodeMouseClickEventHandler Fired when the user clicks a TreeNode with the mouse.
TreeNodeMouseClickEventHandler Fired when the user double-clicks a TreeNode with the mouse.
TreeNodeMouseHoverEventHandler Fired when the mouse hovers over a TreeNode.
TreeNodeMouseHoverEventHandler Fired when the mouse leaves the TreeNode.
Wisej.Web.TreeNodeCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a collection of objects.
: 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.
Throws:
Throws:
Removes all tree nodes from the collection.
Removes and disposes all tree nodes from the collection.
Copies the entire collection into an existing array at a specified location within the array.
Inserts an existing tree node into the tree node collection at the specified location.
Throws:
Creates a tree node with the specified text and key, and inserts it into the collection.
Throws:
Removes a tree node from the tree node collection at a specified index.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Deprecated: This event is deprecated. Use NodeDrag instead. ItemDragEventHandler Fired when the user begins dragging a TreeNode.
Name | Description |
---|---|
: 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 .
Parameter | Type | Description |
---|
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.
Parameter | Type | Description |
---|
Returns: . The that was added to the collection.
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.
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.
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.
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.
Adds a previously created to the end of the .
Parameter | Type | Description |
---|
Returns: . The zero-based index value of the added to the .
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.
Parameter | Type | Description |
---|
nodes is null or one of the items in the collection is null.
nodes is the child of another .
Parameter | Type | Description |
---|
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.
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.
Parameter | Type | Description |
---|
Finds the objects with specified key, optionally searching sub nodes.
Parameter | Type | Description |
---|
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.
Parameter | Type | Description |
---|
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.
Parameter | Type | Description |
---|
Returns: . The zero-based index of the first occurrence of a tree node with the specified key, if found; otherwise, -1.
Parameter | Type | Description |
---|
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.
Parameter | Type | Description |
---|
Returns: . The that was inserted in the collection.
Parameter | Type | Description |
---|
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.
Parameter | Type | Description |
---|
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.
Parameter | Type | Description |
---|
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.
Parameter | Type | Description |
---|
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.
Parameter | Type | Description |
---|
Returns: . The that was inserted in the collection.
Removes the specified from the .
Parameter | Type | Description |
---|
node is null.
Parameter | Type | Description |
---|
Removes the with the specified key from the collection.
Parameter | Type | Description |
---|
Fired when the collection changes.
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
An array of child TreeNode objects.
ignoreChildren
true to leave the child nodes in their current state; false to collapse the child nodes.
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.
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.
text |
key |
text |
key |
text |
imageIndex |
key |
text |
imageKey |
key |
text |
imageIndex |
selectedImageIndex | The index of the image to be displayed in the tree node when it is in a selected state. |
key |
text |
imageKey |
selectedImageKey | The key of the image to display when the node is in a selected state. |
node |
nodes |
dispose | Indicates whether to dispose the tree nodes removed from the collection. |
node |
key |
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 |
key | The name of the tree node to search for. |
index |
node |
index |
text |
index |
key |
text |
index |
key |
text |
imageIndex |
index |
key |
text |
imageKey |
index |
key |
text |
imageIndex |
selectedImageIndex |
index |
key |
text |
imageKey |
selectedImageKey |
node |
index |
key | The name of the tree node to remove from the collection. |
text
The label Text of the new tree node.
text
The label Text of the new tree node.
children
An array of child TreeNode objects.
sender | The source of the event. |
e | A 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. |
Wisej.Web.TreeNodeMouseClickEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle the NodeMouseClick and NodeMouseDoubleClick events of a TreeView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.TreeNodeMouseClickEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the NodeMouseClick and NodeMouseDoubleClick events.
Initializes a new instance of the TreeNodeMouseClickEventArgs class.
Name | Type | Description |
---|---|---|
Initializes a new instance of the TreeNodeMouseClickEventArgs class.
TreeNode: Returns the tree node that has been clicked.
Wisej.Web.ItemDragEventHandler
Wisej.Web.ItemDragEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the ItemDrag event of the TreeView controls.
Initializes a new instance of the ItemDragEventArgs class with a specified mouse button.
Name | Type | Description |
---|---|---|
Initializes a new instance of the ItemDragEventArgs class with a specified mouse button and the TreeNode that is being dragged.
Name | Type | Description |
---|---|---|
MouseButtons: Returns a value that indicates which mouse buttons were pressed during the drag operation.
TreeNode: Returns the TreeNode that is being dragged.
Wisej.Web.NodeLabelEditEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the BeforeLabelEdit and AfterLabelEdit events.
Initializes a new instance of the NodeLabelEditEventArgs class for the specified TreeNode.
Name | Type | Description |
---|---|---|
Initializes a new instance of the NodeLabelEditEventArgs class for the specified TreeNode and the specified text with which to update the tree node label.
Name | Type | Description |
---|---|---|
Initializes a new instance of the NodeLabelEditEventArgs class for the specified TreeNode.
Name | Type | Description |
---|---|---|
Boolean: Returns or sets whether the edit has been canceled.
String: Returns the new text to associate with the tree node.
TreeNode: Returns the tree node containing the text to edit.
Wisej.Web.TreeView
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Displays a hierarchical collection of labeled items, each represented by a TreeNode.
Initializes a new instance of the TreeView class.
BorderStyle: Gets or sets the border style of the tree view control. (Default: Solid
)
Boolean: 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 CheckBox property. (Default: False
)
Boolean: Returns or sets whether all the node images are hidden. Tree nodes may override this property setting the HideNodeImage property. (Default: False
)
Int32: Returns or sets the image-list index value of the default image that is displayed by the tree nodes. (Default: -1
)
Throws:
ArgumentOutOfRangeException The specified index is less than -1.
String: Returns or sets the key of the default image for each node in the TreeView control when it is in an unselected state. (Default: ""
)
ImageList: Returns or sets the ImageList that contains the Image objects that are used by the tree nodes. (Default: null
)
Int32: Returns or sets the distance in pixels to indent each child tree node level. (Default: -1
)
Throws:
ArgumentOutOfRangeException The assigned value is less than -1; or the assigned value is greater than 500.
Int32: 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:
ArgumentOutOfRangeException The assigned value is less than -1; or the assigned value is greater than 500.
Boolean: Returns or sets whether the label text of the tree nodes can be edited. (Default: False
)
TreeNodeCollection: Returns the collection of tree nodes that are assigned to the tree view control.
Int32: Returns or sets the image list index value of the image that is displayed when a TreeNode is expanded. (Default: -1
)
Throws:
ArgumentException The index assigned value is less than -1.
String: Returns or sets the key of the default image shown when a TreeNode is expanded. (Default: ""
)
String: Returns or sets the delimiter string that the tree node path uses. (Default: "\"
)
Int32: Returns or sets the number of items to prefetch outside of the visible area when VirtualScroll is set to true. The default is 0 (disabled). (Default: 0
)
Boolean: Returns or sets whether the TreeNode 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 RightClickSelection.
Boolean: Returns or sets whether the tree view control displays scroll bars when they are needed. (Default: True
)
Int32: Returns or sets the image list index value of the image that is displayed when a TreeNode is selected. (Default: -1
)
Throws:
ArgumentException The index assigned value is less than -1.
String: Returns or sets the key of the default image shown when a TreeNode is selected. (Default: ""
)
TreeNode: Returns or sets the tree node that is currently selected in the tree view control.
TreeNode[]: 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 TreeView. (Default: One
)
Boolean: Returns or sets a value indicating ToolTips are shown when the mouse pointer hovers over a TreeNode. (Default: False
)
Boolean: Returns or sets whether plus-sign (+) and minus-sign (-) buttons are displayed next to tree nodes that contain child tree nodes. (Default: True
)
Boolean: Returns or sets whether lines are drawn between the tree nodes that are at the root of the tree view. (Default: True
)
Boolean: Returns or sets whether the tree nodes in the tree view are sorted. (Default: False
)
ImageList: Returns or sets the image list that is used to indicate the state of the TreeView and its nodes. (Default: null
)
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.
TreeNode: Returns or sets the first fully-visible tree node in the tree view control.
IComparer<TreeNode>: Returns or sets the implementation of IComparer to perform a custom sort of the TreeView nodes.
Boolean: Enables or disables virtual scrolling for the TreeView. When virtual scrolling is enabled, only the visible nodes are rendered in the browser allowing the TreeView to host virtually unlimited nodes without any performance loss. (Default: False
)
When VirtualScroll is set to true, all the nodes must be of the same height, limiting the more flexible HTML rendering in the nodes available when VirtualScroll is off (default). Setting the property PrefetchItems 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 TreeView.
Collapses all the tree nodes.
This method has no effect on this control.
Expands all the tree nodes.
Retrieves the number of tree nodes, optionally including those in all subtrees, assigned to the tree view control.
Returns: Int32. The number of tree nodes, optionally including those in all subtrees, assigned to the tree view control.
Returns a value indicating whether the specified TreeNode is selected.
Returns: Boolean. true if the specified TreeNode is currently selected in the TreeView; otherwise, false.
Throws:
ArgumentNullException The specified node is null.
ArgumentException The specified node is currently assigned to another TreeView.
Selects or clears the selection for the specified TreeNode in a TreeView.
Throws:
ArgumentNullException The specified node is null.
ArgumentException The specified node is currently assigned to another TreeView.
InvalidOperationException The SelectionMode property is set to None.
Sorts the items in TreeView control.
TreeViewEventHandler Occurs after the tree node check box is checked.
TreeViewEventHandler Occurs after the tree node is collapsed.
TreeViewEventHandler Occurs after the tree node is expanded.
NodeLabelEditEventHandler Occurs after the tree node label text is edited.
TreeViewEventHandler Occurs after the tree node is selected.
TreeViewCancelEventHandler Occurs before the tree node check box is checked.
TreeViewCancelEventHandler Occurs before the tree node is collapsed.
TreeViewCancelEventHandler Occurs before the tree node is expanded.
NodeLabelEditEventHandler Occurs before the tree node label text is edited.
TreeViewCancelEventHandler Occurs before the tree node is selected.
TreeViewNodeDragEventHandler Fired when the user begins dragging a node.
TreeNodeMouseClickEventHandler Fired when the user clicks a TreeNode with the mouse.
TreeNodeMouseClickEventHandler Fired when the user double-clicks a TreeNode with the mouse.
TreeNodeMouseHoverEventHandler Fired when the mouse hovers over a TreeNode.
TreeNodeMouseHoverEventHandler Fired when the mouse leaves the TreeNode.
ToolClickEventHandler Fired when a ComponentTool is clicked.
Wisej.Web.TreeNodeMouseHoverEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the NodeMouseHover event.
Initializes a new instance of the TreeNodeMouseHoverEventArgs class.
Name | Type | Description |
---|---|---|
TreeNode: Returns the node the mouse pointer is currently resting on.
Name | Description |
---|---|
Wisej.Web.TreeViewCancelEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the BeforeCheck, BeforeCollapse, BeforeExpand, and BeforeSelect events of a TreeView control.
Initializes a new instance of the TreeViewCancelEventArgs 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 |
---|---|---|
Initializes a new instance of the TreeViewCancelEventArgs 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 |
---|---|---|
TreeViewAction: Returns the type of action that raised the event.
TreeNode: Returns the tree node that has been checked, expanded, collapsed, or selected.
TreeNode[]: Returns the tree nodes that has been selected in a multiselection treeview.
Wisej.Web.TreeViewEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the AfterCheck, AfterCollapse, AfterExpand, or AfterSelect events of a TreeView control.
Initializes a new instance of the TreeViewEventArgs class for the specified tree node.
Name | Type | Description |
---|---|---|
Initializes a new instance of the TreeViewEventArgs class for the specified tree node and with the specified type of action that raised the event.
Name | Type | Description |
---|---|---|
Initializes a new instance of the TreeViewEventArgs class for the specified tree node and with the specified type of action that raised the event.
Name | Type | Description |
---|---|---|
TreeViewAction: Returns the type of action that raised the event.
TreeNode: Returns the tree node that has been checked, expanded, collapsed, or selected.
TreeNode[]: Returns the tree nodes that have been selected in a multi-selection treeview.
Wisej.Web.TreeViewCancelEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle the BeforeCheck, BeforeCollapse, BeforeExpand, or BeforeSelect event of a TreeView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.TreeViewAction
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Specifies the action that raised a TreeViewEventArgs event.
Name | Description |
---|---|
Name | Description |
---|---|
Wisej.Web.TreeNodeMouseHoverEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle the NodeMouseHover event of a TreeView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.TreeViewNodeDragEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the event of the controls.
Initializes a new instance of the class with a specified mouse button.
Name | Type | Description |
---|
Initializes a new instance of the class with a specified mouse button and the that is being dragged.
Name | Type | Description |
---|
The label text displayed by the .
The name of the .
The text to display in the .
The name of the .
The text to display in the .
The index of the image to display in the .
The name of the .
The text to display in the .
The image to display in the .
The name of the .
The text to display in the .
The index of the image to display in the .
The name of the .
The text to display in the .
The key of the image to display in the .
The to add to the collection.
An array of objects representing the tree nodes to add to the collection.
The to locate in the collection.
The name of the to search for.
The to locate in the collection.
The indexed location within the collection to insert the .
The to insert into the collection.
The location within the collection to insert the .
The text to display in the .
The location within the collection to insert the .
The name of the .
The text to display in the .
The location within the collection to insert the .
The name of the .
The text to display in the .
The index of the image to display in the .
The location within the collection to insert the .
The name of the .
The text to display in the .
The key of the image to display in the .
The location within the collection to insert the .
The name of the .
The text to display in the .
The index of the image to display in the .
The index of the image to display in the when it is in a selected state.
The location within the collection to insert the .
The name of the .
The text to display in the .
The key of the image to display in the .
The key of the image to display in the when it is in a selected state.
The to remove.
The index of the to remove.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Deprecated: This event is deprecated. Use NodeDrag instead. ItemDragEventHandler Fired when the user begins dragging a node.
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
: Returns a value that indicates which mouse buttons were pressed during the drag operation.
: Returns the that is being dragged.
Name | Description |
---|
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.
node
The node that was clicked.
button
One of the MouseButtons members.
clicks
The number of clicks that occurred.
x
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.
Represents the method that will handle the NodeMouseClick and NodeMouseDoubleClick events of a TreeView.
Represents the method that will handle the BeforeLabelEdit and AfterLabelEdit events of a TreeView control.
includeSubTrees
true to count the TreeNode items that the subtrees contain; otherwise, false.
node
The TreeNode to check.
node
The TreeNode to select.
selected
True to select the specified TreeNode, otherwise false to deselect it.
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.
Represents the method that will handle the BeforeCheck, BeforeCollapse, BeforeExpand, or BeforeSelect event of a TreeView.
Represents the method that will handle the AfterCheck, AfterCollapse, AfterExpand, or AfterSelect event of a TreeView.
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.
Occurs before the tree node is expanded.
Occurs before the tree node is selected.
ByKeyboard
The event was caused by a keystroke .
ByMouse
The event was caused by a pointer operation.
Collapse
The event was caused by the TreeNode collapsing.
Expand
The event was caused by the TreeNode expanding.
Removed
The event was caused by the TreeNode 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.
sender
The source of the event.
e
A TreeNodeMouseHoverEventArgs that contains the event data.
Fired when the mouse hovers over a TreeNode.
Fired when the mouse leaves the TreeNode.
Fired when the mouse hovers over a TreeNode.
Fired when the mouse leaves the TreeNode.
node
The node that was clicked.
button
One of the MouseButtons members.
clicks
The number of clicks that occurred.
x
The x-coordinate where the click occurred.
y
The y-coordinate where the click occurred.
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.
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.
node
The TreeNode the mouse pointer is currently resting on.
Represents the method that will handle the NodeMouseHover event of a TreeView.
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.
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.
sender | The source of the event. |
e | A 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. |
Occurs after the tree node is expanded. |
Occurs after the tree node is selected. |
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. |
button |
button |
node |
Represents the method that will handle the event of a control.
A combination of values that indicates which mouse buttons were pressed.
A combination of values that indicates which mouse buttons were pressed.
The being dragged.