void OnRowRemoved(RowListEventArgs e) { if (RowRemoved != null) { RowRemoved(this, e); } }
void Table_RowRemoved(object sender, RowListEventArgs e) { var row = (TRow)e.Row; //If the filter uses a column from this table, the dependency will fire RowInvalidated on RowRemoved. if (Rows.Contains(row)) { RemoveRow(row); } }
///<summary>Raises the RowRemoved event.</summary> ///<param name="e">A RowEventArgs object that provides the event data.</param> void OnRowRemoved(RowListEventArgs <TRow> e) { if (RowRemoved != null) { RowRemoved(this, e); } if (untypedRowRemoved != null) { untypedRowRemoved(this, new RowListEventArgs(e.Row, e.Index)); } }
///<summary>Raises the RowRemoved event.</summary> ///<param name="e">A RowEventArgs object that provides the event data.</param> protected virtual void OnRowRemoved(RowListEventArgs e) { EventSequence.Execute(() => RowRemoved?.Invoke(this, e)); }
protected override void OnRowRemoved(RowListEventArgs e) { base.OnRowRemoved(e); EventSequence.Execute(() => RowRemoved?.Invoke(this, new RowListEventArgs <TRow>((TRow)e.Row, e.Index))); }