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
2335
Cancel Selection Change
posted

Hi,

Is there some way to cancel selection? we have a XamComboEditor with  AllowMultipleSelection="True" CheckBoxVisibility="Visible", and on some specific conditions we want to cancel last selection.

Is there some in box or built in feature to cancel the selection change or we have to handle it manually?

Thanks

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello Imran,

    Thank you for your post. I have been looking into it and created a sample project for you with the functionality you want. Basically I copied the default Style for the ComboBoxItemControl and handled the Grid’s, that is the Root element of the Template, MouseDown event and remove the last selected item if a particular condition is met. Please let me know if this helps you or you need further assistance on this matter.

    Looking forward for your reply.

    XamComboEditorCancelSelection.zip
Children