c# - WPF Datagrid that allows for ranking? -


i have wpf application , use datagrids. have list of name , want users able rank them in order of priority. each name have up/down arrow next , clicking on them move name or down list accordingly. i'm wondering if there existing control or example of how this.

you don't need specific control that...

you can use datagridtemplatecolumn , include arrow buttons in template. these buttons mapped commands increase or decrease priority. if items ordered priority (using icollectionview.sortdescriptions or collectionviewsource.sortdescriptions), automatically reordered in datagrid.


Comments