Customize BoxItem in single selection mode

2 posts, 0 answers
  1. Viswa
    Viswa avatar
    2 posts
    Member since:
    Aug 2017

    Posted 07 Aug Link to this post

    Hi,

    I want to customize the BoxItem in single selection mode. As per documentation, there is no other way to customize the boxItem in Single selection mode. Because of this constraint, It is blocking our development. Any one can help me in this situation.

    Regards,

    Viswa Teja.

  2. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    634 posts

    Posted 09 Aug Link to this post

    Hello Viswa,

    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.

    Regards,
    Dilyan Traykov
    Progress Telerik
    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.
Back to Top