Multiselect-ComboBox icon indicating copy to clipboard operation
Multiselect-ComboBox copied to clipboard

Ability to customize item container

Open Filipsi opened this issue 2 years ago • 3 comments

Is there a better way to remove rounded corners from selected item container other then overriding entire control template? Would it be possible to add something like ItemContainerTemplate or ItemContainerStyle so it could be customized easier?

Filipsi avatar May 18 '23 13:05 Filipsi

I've added a new SelectedItemContainerCornerRadius at MultiSelectComboBox component level - this should help customizing the control without redefining the container's template: PR #94.

sdolhaor avatar May 19 '23 07:05 sdolhaor

Thank you for a quick response and subsequent pull request.

I have one more thing, regarding item container customization. When the control is in edit mode, the selected item has a remove button with a "Remove" tool-tip. I would like to localize this text for my use case, which is currently only possible by overriding entire control template.

Filipsi avatar May 19 '23 08:05 Filipsi

Thanks for the follow-up. I think we'll need to check if other texts need properties as well, i.e. also in any other places not only on remove button (to avoid the need of templating just for setting their values)... When I'll have time I'll do some further analysis on it myself. If you, however, have time sooner, you can also try it in a fork and submit a PR with changes; we'll surely review it and merge it if everything is fine!

sdolhaor avatar May 19 '23 09:05 sdolhaor