ZForge.Controls.XPTable.Models.CellCollection.Clear C# (CSharp) Method

Clear() public method

Removes all Cells from the collection
public Clear ( ) : void
return void
        public new void Clear()
        {
            if (this.Count == 0)
            {
                return;
            }

            for (int i=0; i<this.Count; i++)
            {
                this[i].InternalRow = null;
            }

            base.Clear();
            this.InnerList.Capacity = 0;

            this.OnCellRemoved(new RowEventArgs(this.owner, null, -1, -1));
        }