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
285
XamComboEditor SelectedItem Template
posted

Microsoft's ComboBox has the SelectedTemplate. Is there something similar for the XamComboEditor?
I need to set a template for the selectedItem in the XamComboEditor/

Thanks!

Parents
  • 6759
    Offline posted

    Hi Fernando,

    XamComboEditor does not have such a property. This however could be achieved by re-templating ComboEditorItemControl. You need to add new content presenter for the selected items and hide/show both ContentPresenters through a storyboard transiting between Selected/Unselected states.

    Check out the attached sample.

    P.S. I wasn't able to find such property on the Microsoft's ComboBox either.

    XamComboEditor_SelectedTemplate.zip
Reply Children