Flexible TreeView Flexible TreeView


Support & Community

NodeNumeric node control

Previous Table of Contents Next

NodeNumeric allows you to show and edit an integer or decimal numbers. It supports binding to all numeric types that can be converted to the System.Decimal type.

Example:

// custom node class with the Salary member to which the node control will be bound.
class NodeEx : Node
{
   public decimal Salary;
}
 
NodeTextBox name = new NodeTextBox();
name.AttachTo(tree);
 
NodeNumeric num = new NodeNumeric();
// bind the node control to the Salary node member.
num.DataFieldName = "Salary";
num.Editable = true;
num.DecimalPlaces = 4;
num.AttachTo(tree);
 
// add node.
NodeEx node = new NodeEx();
node.Text = "John Smith";
node.Salary = 13000.1234M;
node.AttachTo(tree);


Additional API reference

Properties

  • DecimalPlaces – defines the number of decimal places to display;
  • StaticValue – allows to show some static content without binding node control to a node;
  • Increment – defines the value to increment or decrement the editor value when the up or down keys are pressed;
  • Minimum – defines the minimum allowed value when editing;
  • Maximum – defines the maximum allowed value when editing.

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.