private void LocationAdded(object sender, LocationDisplayModelEventArgs e) { if (e?.Index == null || e?.Model == null) { return; } InsertLocationRow(e.Index.Value + LocationRowIdxBase, e.Model); }
private void LocationRemoved(object sender, LocationDisplayModelEventArgs e) { if (e?.Index == null) { return; } View.Rows.RemoveAt(e.Index.Value + LocationRowIdxBase); }