Version

ValueList Property

Gets/sets the Infragistics.Win.IValueList interface implementor used to map values to text for cells in this this UltraTreeNodeColumn.
Syntax
'Declaration
 
Public Property ValueList As Infragistics.Win.IValueList
public Infragistics.Win.IValueList ValueList {get; set;}
Example
The following code sample demonstrates how to use the UltraTreeNodeColumn's ValueList property to map numerical values to a more readable representation.

Imports Infragistics.Win
Imports Infragistics.Win.Layout
Imports Infragistics.Win.UltraWinTree

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim valueList As ValueList = New ValueList()
        valueList.ValueListItems.Add(0, "Account in good standing")
        valueList.ValueListItems.Add(1, "30 days or more past due")
        valueList.ValueListItems.Add(2, "90 days or more past due")
        Dim rootColumnSet As UltraTreeColumnSet = Me.ultraTree1.ColumnSettings.RootColumnSet
        rootColumnSet.Columns("AccountStatus").ValueList = valueList
    End Sub
using Infragistics.Win;
using Infragistics.Win.Layout;
using Infragistics.Win.UltraWinTree;
using System.Diagnostics;

		private void button1_Click(object sender, System.EventArgs e)
		{
			ValueList valueList = new ValueList();
			valueList.ValueListItems.Add( 0, "Account in good standing" );
			valueList.ValueListItems.Add( 1, "30 days or more past due" );
			valueList.ValueListItems.Add( 2, "90 days or more past due" );

			UltraTreeColumnSet rootColumnSet = this.ultraTree1.ColumnSettings.RootColumnSet;
			rootColumnSet.Columns["AccountStatus"].ValueList = valueList;
		}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also