Beispiel #1
0
 void OnRowRemoved(RowListEventArgs e)
 {
     if (RowRemoved != null)
     {
         RowRemoved(this, e);
     }
 }
Beispiel #2
0
        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);
            }
        }
Beispiel #3
0
 ///<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));
     }
 }
Beispiel #4
0
 ///<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));
 }
Beispiel #5
0
 protected override void OnRowRemoved(RowListEventArgs e)
 {
     base.OnRowRemoved(e);
     EventSequence.Execute(() => RowRemoved?.Invoke(this, new RowListEventArgs <TRow>((TRow)e.Row, e.Index)));
 }