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

OnRowPropertyChanged() protected method

Raises the RowPropertyChanged event
protected OnRowPropertyChanged ( RowEventArgs e ) : void
e RowEventArgs A RowEventArgs that contains the event data
return void
        protected internal virtual void OnRowPropertyChanged(RowEventArgs e)
        {
            if (this.CanRaiseEvents)
            {
                if (e.EventType == RowEventType.ExpandSubRowsChanged)
                {
                    // This changes the whole table
                    this.Invalidate();

                    UpdateScrollBars();
                }
                else
                {
                    // These events just change the row itself
                    this.InvalidateRow(e.Index);

                    if (RowPropertyChanged != null)
                    {
                        RowPropertyChanged(e.Row, e);
                    }
                }
            }
        }
Table