Indeed, as suggested in the Customizing the BoxesItemTemplate article
, the BoxesItemTemplate
is applied only when the SelectionMode
property is set to Multiple as BoxItems
are not displayed in this case.
What you can do in this scenario is to set your custom style as the control's TextBoxStyle
property and use a converter inside it to handle any conditional styling. You can have a look at the Single SelectionMode with clear button
demo from the SDK Samples Browser
which demonstrates how to setup the style.
Do let me know if you need any further assistance on the matter.
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin
, a suite of polished and feature-rich components for the Xamarin framework, which allow
you to write beautiful native mobile apps using a single shared C# codebase.