Flexible TreeView Flexible TreeView


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
Bookmark and Share
Use Flexible TreeView in WPF project
Sunday, 18 December 2011

Do you have a WPF project and want to use Flexible TreeView there? No problem!

Flexible TreeView v3.4
Friday, 16 December 2011

Flexible TreeView v3.4 maintenance release has been released.

Flexible TreeView v3.3
Friday, 23 September 2011

Flexible TreeView v3.3 maintenance release has been released. Separate assemblies for .NET 2.0, 4.0 and 4.0 Client Profile, HTML markup extension, etc.

Latest release

Version:
Release date:
3.4
Dec 16, 2011


Copyright © 2006-2012 ARMSoft. All rights reserved.