Returns the
TreeColumnsCollection to which this instance belongs.
The following code sample demonstrates how to use the UltraTreeNodeColumn's ColumnSet, Control, and ParentColumnsCollection properties to determine whether the column is associated with an UltraTreeColumnSet and/or UltraTree control, and whether it belongs to a collection.
Imports Infragistics.Win
Imports Infragistics.Win.Layout
Imports Infragistics.Win.UltraWinTree
Private Function VerifyColumn(ByVal column As UltraTreeNodeColumn) As Boolean
If column.ColumnSet Is Nothing Or column.Control Is Nothing Then
Return False
End If
If column.ParentColumnsCollection Is Nothing Then Return False
Return True
End Function
using Infragistics.Win;
using Infragistics.Win.Layout;
using Infragistics.Win.UltraWinTree;
using System.Diagnostics;
private bool VerifyColumn( UltraTreeNodeColumn column )
{
if ( column.ColumnSet == null || column.Control == null )
return false;
if ( column.ParentColumnsCollection == null )
return false;
return true;
}
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