'宣言 Public ReadOnly Property DataColumnSetResolved As UltraTreeColumnSet
public UltraTreeColumnSet DataColumnSetResolved {get;}
DataColumnSetResolved プロパティはノードのセル データを定義する UltraTreeColumnSet を参照します。TreeNodeCellsCollection はこの UltraTreeColumnSet に基づいています。通常、これは DisplayColumnSetResolved と同じですが、異種データの場合、ノードはヘッダーに表示されるのと異なる列セットを持つ List Object からデータを取得します。
Imports Infragistics.Win Imports Infragistics.Win.Layout Imports Infragistics.Win.UltraWinTree Private Sub GetBoundNodeInfo(ByVal node As UltraTreeNode) If Not node.DataColumnSetResolved Is Nothing Then Debug.WriteLine("DataColumnSetResolved = '" + node.DataColumnSetResolved.Key + "'") End If If Not node.DisplayColumnSetResolved Is Nothing Then Debug.WriteLine("DisplayColumnSetResolved = '" + node.DisplayColumnSetResolved.Key + "'") End If Debug.WriteLine("ListIndex = " + node.ListIndex.ToString()) If Not node.ListObject Is Nothing Then Debug.WriteLine("ListObject = " + node.ListObject.ToString()) End If Debug.WriteLine("IsBandNode = " + node.IsBandNode.ToString()) Debug.WriteLine("ShowColumnsResolved = " + node.ShowColumnsResolved.ToString()) Debug.WriteLine("BandName = " + node.BandName.ToString()) End Sub
using Infragistics.Win; using Infragistics.Win.Layout; using Infragistics.Win.UltraWinTree; using System.Diagnostics; private void GetBoundNodeInfo( UltraTreeNode node ) { if ( node.DataColumnSetResolved != null ) Debug.WriteLine( "DataColumnSetResolved = '" + node.DataColumnSetResolved.Key + "'" ); if ( node.DisplayColumnSetResolved != null ) Debug.WriteLine( "DisplayColumnSetResolved = '" + node.DisplayColumnSetResolved.Key + "'" ); Debug.WriteLine( "ListIndex = " + node.ListIndex.ToString() ); if ( node.ListObject != null ) Debug.WriteLine( "ListObject = " + node.ListObject.ToString() ); Debug.WriteLine( "IsBandNode = " + node.IsBandNode.ToString() ); Debug.WriteLine( "ShowColumnsResolved = " + node.ShowColumnsResolved.ToString() ); }