'宣言 Public ReadOnly Property ColumnSet As UltraTreeColumnSet
public UltraTreeColumnSet ColumnSet {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; }