Hi all,
unfortunately I have another problem using the XamComboEditor from WPF4 package (v13.1, SharedXAML).I´m using this combo with autocomplete feature enabled and bound to a list of objects. Selection and autocomplete works fine but I cannot find any property for controlling the width of the dropdown area. Since items in combo are quite long the combo itself cannot show the whole item once it is selected (that´s ok). But when the dropdown area is shown while typing text (and using autocomplete) it would be nice to have this area in full width of the longest item.How can I do this?Left control: XamComboEditor w/o expanded dropdown area (my problem)Right control: AutoCompleteBox from WPF ToolKit with expanded dropdown area (that´s what I want)
Thanks,Daniel
Hello Daniel,
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I handled the XamComboEditor’s Loaded event and in its handler I handled the DropDownPopup’s Opened event in order to be able to set its Width to Double.NaN, so it can be auto sized. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Thanks Stefan,
this is exactly what I´m looking for :)
regards,Daniel