AdvancedDataGridView.TreeGridCell.UnSited C# (CSharp) Метод

UnSited() защищенный Метод

protected UnSited ( ) : void
Результат void
        protected internal virtual void UnSited()
        {
            // The row this cell is in is being removed from the grid.
            this.IsSited = false;
            this.Style.Padding = this._previousPadding;
        }

Usage Example

Пример #1
0
 internal void Unsite()
 {
     foreach (TreeGridNode childNode in this.Nodes)
     {
         childNode.Unsite();
     }
     foreach (DataGridViewCell cell in this.Cells)
     {
         TreeGridCell treeCell = cell as TreeGridCell;
         if (treeCell != null)
         {
             treeCell.UnSited();
         }
     }
     this.isSited = false;
 }