Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Move rows up/down and keep selection



We need to give our users the ability to select a row and move it up/down by clicking some buttons. The rows do get moved by modifying the underlying IBindingList.

The problem is that selection doesn't work quite well. It gets lost after clicking - for instance - the "Move Up" button a couple of time.

In order to keep track of the selection, I'm using the approach explained here -

But even though the properties are correctly setup, the behavior is not consistent.

Any suggestions?

Many thanks.