ZForge.Controls.XPTable.Models.RowCollection.RemoveAt C# (CSharp) Méthode

RemoveAt() public méthode

Removes the Row at the specified index from the collection
public RemoveAt ( int index ) : void
index int The index of the Row to remove
Résultat void
        public new void RemoveAt(int index)
        {
            if (index >= 0 && index < this.Count)
            {
                Row row = this[index];

                this.List.RemoveAt(index);

                if (owner != null)
                    this.OnRowRemoved(new TableModelEventArgs(this.owner, row, index, index));

                else if (rowowner != null)
                    this.OnRowRemoved(new RowEventArgs(row, RowEventType.Unknown));
            }
        }