KaxTreeNode Constructor (String, String) |
Initializes a new instance of the
KaxTreeNode class with the
specified text and value.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic KaxTreeNode(
string text,
string value
)
Public Sub New (
text As String,
value As String
)
public:
KaxTreeNode(
String^ text,
String^ value
)
new :
text : string *
value : string -> KaxTreeNode
Parameters
- text
- Type: SystemString
The text of the node. The Text property is set to the value
of this parameter.
- value
- Type: SystemString
The value of the node. The Value property is set to the value of this
parameter.
Remarks
Use this constructor to create and initialize a new instance of the
KaxTreeNode class using the specified text and value.
Examples
This example demonstrates how to add nodes to
KaxTreeView
controls.
KaxTreeNode node = new KaxTreeNode("News", "NewsValue");
KaxTreeView1.Nodes.Add(node);
Dim node As New KaxTreeNode("News", "NewsValue")
KaxTreeView1.Nodes.Add(node)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also