Support & Community

NodeTextBox node control

Previous Table of Contents Next

NodeTextBox allows you to show and edit text. It supports text auto–wrapping (TextWrapMode property) and HTML text displaying (SupportHtml property).

Example:

NodeTextBox ctrl;
ctrl = new NodeTextBox();
ctrl.DataFieldName = "Text";   // this is the value by default.
tree.NodeControls.Add(ctrl);
 
// NodeTextBox will display the ‘Some text' text for this node.
Node node = new Node("Some text");
node.AttachTo(tree);


Text format

You can easily change the text output format using the DisplayFormat property.


Edit

NodeTextBox supports in–place text editing. To enable it, enable the Editable property. To control the text maximum length on edit, use the MaxLength property.
Note that when the SupportHtml property is enabled, the node control doesn`t allow text editing.


Additional API reference

Properties

  • All standard properties of the editable node control;
  • SupportHtml – allows you to show HTML text;
  • TextWrapMode – allows to auto–wrap the text that exceeds a column’s or treeview’s bounds;
  • StaticValue – allows to show some static content without binding the node control to a node.
Previous Top Next
Last news
Flexible TreeView v2.7
Sunday, 01 August 2010

Flexible TreeView v2.7 has been released with completely reimplemented data binding support.

Flexible TreeView v2.6
Thursday, 13 May 2010
Flexible TreeView v2.6 has been released with Visual Studio 2010 support, new NodeDateTime node control, data access great speed increase and much more.
Flexible TreeView v2.5
Saturday, 13 March 2010

Flexible TreeView v2.5 has been released with the new NodeProgressBar node control.

Latest release

Version:
Release date:
2.7.1
Aug 11, 2010


Copyright © 2006-2010 ARMSoft. All rights reserved.