I want to change the position of two rows
the itemsource is binding to Columns, item is currentItem,
the code :
int index = Columns.IndexOf(item) - 1;
Columns.Remove(item);
Columns.Insert(index, item);
now i must reset the source and the UI refresh
Columns = Columns.ToList().OrderBy(t => t.column_order) as ObservableCollection<Column>
Is any way tochange the position by not refresh ui?