バージョン

ValueList プロパティ

この UltraTreeNodeColumn 内のセルのテキストに値をマップするために使用される Infragistics.Win.IValueList インターフェイス インプリメンタを取得または設定します。
シンタックス
'宣言
 
Public Property ValueList As Infragistics.Win.IValueList
public Infragistics.Win.IValueList ValueList {get; set;}
使用例
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;
		}
参照