Ejemplo n.º 1
0
 /// <summary>
 /// Disposes all the resources used by the <see cref="Syncfusion.UI.Xaml.TreeGrid.TreeDataRowBase"/> class.
 /// </summary>
 /// <param name="isDisposing">Indicates whether the call is from Dispose method or from a finalizer.</param>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (this.visibleColumns != null)
         {
             foreach (var item in visibleColumns)
             {
                 item.Dispose();
             }
             visibleColumns.Clear();
             visibleColumns = null;
         }
         if (this.RowElement != null)
         {
             RowElement.Dispose();
             this.RowElement = null;
         }
         this.rowData  = null;
         this.TreeGrid = null;
         this.node     = null;
     }
 }