void AccountsList_ReorderingCompleted(object sender, Component.ReorderListBox.ReorderActionCompletedEventArgs e) { e.HandleReorderingFor<Account>(this.AccountsList.Items, () => accountViewModel.Update()); // this.AlertNotification("moving from: {0} {1} to {2}".FormatWith(e.OriginalIndex, e.Orinentation, e.TargetIndex)); }
void FirstCategoryItems_ReorderingCompleted(object sender, Component.ReorderListBox.ReorderActionCompletedEventArgs e) { e.HandleReorderingFor<Category>(this.FirstCategoryItems.Items, () => CategoryVM.SubmitChanges()); }