Beispiel #1
0
 private void EnsureRowInfoState()
 {
     if (this.rowState != null)
     {
         return;
     }
     this.rowState = new GridViewRowInfo.GridViewRowInfoState();
 }
Beispiel #2
0
 public void Dispose()
 {
     this.SuspendPropertyNotifications();
     if (this.ViewInfo != null)
     {
         this.ViewTemplate.MasterTemplate.SelectedRows.BeginUpdate();
         this.ViewTemplate.MasterTemplate.SelectedRows.Remove(this);
         this.ViewTemplate.MasterTemplate.SelectedRows.EndUpdate(false);
         this.ViewInfo.PinnedRows.Remove(this);
     }
     this.ResumePropertyNotifications();
     this.parent        = (GridViewRowInfo)null;
     this.rowState      = (GridViewRowInfo.GridViewRowInfoState)null;
     this.viewInfo      = (GridViewInfo)null;
     this.dataBoundItem = (object)null;
     GC.SuppressFinalize((object)this);
 }