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
875
Move up or Move Down command for records
posted

Is there a command to move / shift a selected record up or down single row?  I have a context menu and buttons that need to do this.  Using datapresenter and WPF 2010 Volume 1 (CLR 3.5)

Parents
No Data
Reply
  • 69686
    posted

    Hello,

    There is no direct way to do this from the XamDataGrid, however, you can use the Move() method of the underlying source collection, if it exposes one - for example ObservableCollection<T> does.

Children