Skip to end of metadata
Go to start of metadata

Represents a unbound node which belongs to WebTreeView object. WebTreeViewNode contains many properties for you to customize a node.

Definition

public class WebTreeViewNode : NamedObjectBase

Summary

The following table summarizes the members exposed in this class.

Public Constructors

WebTreeViewNode Constructor() Initializes a new instance of WebTreeViewNode class with no argument.
WebTreeViewNode Constructor(string) Initializes a new instance of WebTreeViewNode class with String parameter as its name.
WebTreeViewNode Constructor(string, object) Initializes a new instance of WebTreeViewNode class with String parameter and Object parameter.

Protected Constructors

Public Properties

AllowDrag Specifies whether a node is allowed to be dragged or not.
AllowDrop Specifies whether a node is allowed to be dropped or not.
AllowEditing Specifies whether a node is allowed to be edited or not.
Checked Determines whether the specified node is currently checked or not.
CheckedState Determines the checked state of the node.
ChildNodeExpandable Specifies whether the child nodes of the specified node is expandable or not.
ContentTemplate A fully customizable template used to hold custom node.
CustomStyle Gets or sets the custom CSS style of the node.
DataItem Specifies data from a node. The data can be a value from XML, if the WebTreeView is bound to XMLDataSource.
DefaultAllowEditing
DefaultExpanded
DefaultExpandImage
DefaultImage
DefaultSelectedExpandedImage
DefaultSelectedImage
DefaultShowCheckBox
DefaultVisible
Depth Gets or sets the Depth of the databindings.
Enabled Indicates whether the node is enabled or disabled.
Expanded Specifies whether the node is currently expanded or not.
ExpandedImage Gets or sets the expanded icon image of the node.
Image Gets or sets the icon image of the node.
ImageToolTip Gets or sets the image tooltip text of the node.
InternalID
MaxBindingDepth Specifies relative maximum binding depth.
Name Specifies the name of the node.
NavigateURL Specifies the URL to be loaded for sub-tree contents.
NextSibling Determines the next node (in the same level) of the specified node.
NodeIndex
Nodes Specifies a collection of WebTreeView's nodes.
NodeType Determines the type of a node, whether it is a root node, parent node, or leaf node.
ParentNode Determines whether the specified node is a parent node and has at least one child node.
Path Gets or sets the path of a node, path from the root node to the node itself.
PreviousSibling Determines the previous node (in the same level) of the specified node.
Selectable Indicates whether the node is selectable or not.
Selected Indicates whether the node is selected or not.
SelectedExpandedImage Gets or sets the expanded icon image of the selected node.
SelectedImage Gets or sets the collapsed icon image of the selected node.
Sequence Determines the index of a node viewed from the entire nodes in WebTreeView.
ShowCheckBox Specifies whether to show checkbox next to a node.
Tag A holding custom info related to the node.
Target The navigate target used when the node is selected.
Text Gets or sets the displayed text of the node.
TextImage Gets or sets the text image of the node.
TextImageToolTip Specifies the specified node's tooltip textimage.
ToolTip Gets or sets the tooltip text of the node.
Value Gets or sets the value of the node.
Visible Indicates whether the node is visible or invisible.

Public Methods

AddNode() Adds a new node to a WebTreeViewNode instance with no arguments.
AddNode(string) Adds a new node to a WebTreeViewNode instance (the new node will be its child node) with String parameter as its name.
Check()
CheckAll()
Collapse()
CollapseAll()
Expand()
ExpandAll()
ExpandHierarchyAndSelect()
GetCurrentIndex()
GetObjectData(SerializationInfo, StreamingContext)
IsChildsVisible()
Navigate()
Select()
ToggleExpandCollapse()
UnCheck()
UnCheckAll()

Public Constructors

public WebTreeViewNode()

Initializes a new instance of WebTreeViewNode class with no argument.

public WebTreeViewNode(string name)

Initializes a new instance of WebTreeViewNode class with String parameter as its name.

Parameters

name

public WebTreeViewNode(string text, object value)

Initializes a new instance of WebTreeViewNode class with String parameter and Object parameter.

Parameters

text
value

Protected Constructors

protected WebTreeViewNode(SerializationInfo info, StreamingContext context)

Parameters

info
context

Public Properties

public bool AllowDrag { get; set; }

Specifies whether a node is allowed to be dragged or not.

public bool AllowDrop { get; set; }

Specifies whether a node is allowed to be dropped or not.

public AllowEditing AllowEditing { get; set; }

Specifies whether a node is allowed to be edited or not.

public bool Checked { get; set; }

Determines whether the specified node is currently checked or not.

public CheckState CheckedState { get; set; }

Determines the checked state of the node.

public bool ChildNodeExpandable { get; set; }

Specifies whether the child nodes of the specified node is expandable or not.

public ITemplate ContentTemplate { get; set; }

A fully customizable template used to hold custom node.

public string CustomStyle { get; set; }

Gets or sets the custom CSS style of the node.

public object DataItem { get; set; }

Specifies data from a node. The data can be a value from XML, if the WebTreeView is bound to XMLDataSource.

public AllowEditing DefaultAllowEditing { get; }

public bool DefaultExpanded { get; }

public string DefaultExpandImage { get; }

public string DefaultImage { get; }

public string DefaultSelectedExpandedImage { get; }

public string DefaultSelectedImage { get; }

public ShowCheckBox DefaultShowCheckBox { get; }

public bool DefaultVisible { get; }

public int Depth { get; }

Gets or sets the Depth of the databindings.

public bool Enabled { get; set; }

Indicates whether the node is enabled or disabled.

public bool Expanded { get; set; }

Specifies whether the node is currently expanded or not.

public string ExpandedImage { get; set; }

Gets or sets the expanded icon image of the node.

public string Image { get; set; }

Gets or sets the icon image of the node.

public string ImageToolTip { get; set; }

Gets or sets the image tooltip text of the node.

public string InternalID { get; }

public int MaxBindingDepth { get; set; }

Specifies relative maximum binding depth.

public string Name { get; set; }

Specifies the name of the node.

public string NavigateURL { get; set; }

Specifies the URL to be loaded for sub-tree contents.

public WebTreeViewNode NextSibling { get; }

Determines the next node (in the same level) of the specified node.

public int NodeIndex { get; set; }

public WebTreeViewNodeCollection Nodes { get; }

Specifies a collection of WebTreeView's nodes.

public NodeType NodeType { get; }

Determines the type of a node, whether it is a root node, parent node, or leaf node.

public WebTreeViewNode ParentNode { get; }

Determines whether the specified node is a parent node and has at least one child node.

public string Path { get; }

Gets or sets the path of a node, path from the root node to the node itself.

public WebTreeViewNode PreviousSibling { get; }

Determines the previous node (in the same level) of the specified node.

public bool Selectable { get; set; }

Indicates whether the node is selectable or not.

public bool Selected { get; set; }

Indicates whether the node is selected or not.

public string SelectedExpandedImage { get; set; }

Gets or sets the expanded icon image of the selected node.

public string SelectedImage { get; set; }

Gets or sets the collapsed icon image of the selected node.

public int Sequence { get; }

Determines the index of a node viewed from the entire nodes in WebTreeView.

public ShowCheckBox ShowCheckBox { get; set; }

Specifies whether to show checkbox next to a node.

public string Tag { get; set; }

A holding custom info related to the node.

public string Target { get; set; }

The navigate target used when the node is selected.

public string Text { get; set; }

Gets or sets the displayed text of the node.

public string TextImage { get; set; }

Gets or sets the text image of the node.

public string TextImageToolTip { get; set; }

Specifies the specified node's tooltip textimage.

public string ToolTip { get; set; }

Gets or sets the tooltip text of the node.

public object Value { get; set; }

Gets or sets the value of the node.

public bool Visible { get; set; }

Indicates whether the node is visible or invisible.

Public Methods

public WebTreeViewNode AddNode()

Adds a new node to a WebTreeViewNode instance with no arguments.

public WebTreeViewNode AddNode(string name)

Adds a new node to a WebTreeViewNode instance (the new node will be its child node) with String parameter as its name.

Parameters

name

public void Check()

public void CheckAll()

public void Collapse()

public void CollapseAll()

public void Expand()

public void ExpandAll()

public void ExpandHierarchyAndSelect()

public int GetCurrentIndex()

public void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info
context

public bool IsChildsVisible()

public void Navigate()

public void Select()

public void ToggleExpandCollapse()

public void UnCheck()

public void UnCheckAll()

  • No labels