Hello,
Thank you for your interest to our product.
Flexible TreeView a bit more complex than the standard treeview control. It may display many data types using node controls.
Please read our
Knowledge Base for details.
In your case you need to add NodeTextBox in order to display a text in the tree:
// or use the NodeControls treeview property in the VS forms designer.
NodeTextBox tb = new NodeTextBox();
tb.AttachTo(tree);
tb.DataFieldName = "Text"; // node class member name where to get data to display. The 'Text' is the default value!
// add nodes
Node n = new Node("hello world 1");
treeView.Nodes.Add(n);
Node n1 = new Node("1");
n1.Text = "hello world 2"; // you`ve initialized the node`s Text property in the constructor so you don`t need this line!
n1.AttachTo(treeView);