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
1405
XamComboEditor SelectAll Option
posted

Hi,

I have a XamComboEditor with checkbox with each item. I want a checkbox with SelectAll option, which selects all the checkbox's at one go, and fires a Command on the ViewModel.

Is there any such implementation within XamComboEditor?

Thanks,

VJ

Parents
No Data
Reply
  • 17559
    Suggested Answer
    posted

    Hello VJ,

     

    I have been looking into your post and I can suggest you change the default template of the XamComboEditor with adding a “Select all ” checkbox in the dropdown popup. You can find our default templates on your computer in the file C:\Program Files (x86)\Infragistics\NetAdvantage 2011.2\WPF\DefaultStyles\XamComboEditor\generic.xaml .

    Furthermore you can used Checked/Unchecked events of the new Checkbox in order to select and unselect all items. For further reference please have a look at the attached sample that I created for you in order to demonstrate this possible approach.

     

    If you need any further assistance on this matter, please do not hesitate to ask.

    CheckBoxCombo (2).zip
Children