Listview with two different context menu
I have a listview control in WPF,and that listview contains so many items,here I want to use two types of context menu(contextmenu 1,contextmenu 2),what i want to do is when i select one item in the listview,it has to show context menu 1 or when i select more than one item, it has to show context menu 2...this we have done in xaml(data binding)...

Answers
Know the answer? Post it. Somebody with the same question will find it here.