'宣言 Public ReadOnly Property ParentColumnsCollection As TreeColumnsCollection
public TreeColumnsCollection ParentColumnsCollection {get;}
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; }