XPTable.Models.Table.OnRowAdded C# (CSharp) Method

OnRowAdded() protected method

Raises the RowAdded event
protected OnRowAdded ( TableModelEventArgs e ) : void
e TableModelEventArgs A TableModelEventArgs that contains the event data
return void
        protected internal virtual void OnRowAdded(TableModelEventArgs e)
        {
            // tunned by Kosmokrat Hismoom on 9 jan 2006
            if (this.CanRaiseEvents)
            {
                this.PerformLayout();
                Rectangle rowRect = this.RowRect(e.Row.Index);
                if ((rowRect != Rectangle.Empty)
                    && (rowRect.IntersectsWith(this.CellDataRect)))
                {
                    this.Invalidate();
                }
                if (RowAdded != null)
                {
                    RowAdded(e.TableModel, e);
                }
            }
        }
Table