Overview

RadAutoCompleteBox provides the following properties for styling and templating the items placed inside the boxes part of the control:

Telerik UI for WPF Ninja image

The Styles and Templates is part of Telerik UI for WPF, a professional grade UI library with 160+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

  • BoxesItemTemplate - when RadAutoCompleteBox is bound to a collection of items, you can use the BoxesItemTemplate property to easily configure the visualization and appearance of the items placed inside the boxes part of the control. Please, check this article for some more detailed information concerning BoxesItemTemplate and how to apply it.

  • BoxesItemTemplateSelector - introduced with the Q1 2016 release of UI for WPF, you use the BoxesItemTemplateSelector propterty when you have more than one BoxesItemTemplate defined for the same type of objects. Using BoxesItemTemplateSelector you could easily provide a way to apply the data template based on some custom logic. You can create a class that inherits DataTemplateSelector and by overriding the SelectTemplate method, that should return the desired template based on a custom logic.

  • BoxesItemStyle - introduced with the Q1 2016 release of UI for WPF. You can use the BoxesItemStyle property to easily customize the items that are placed inside the boxes part of the control. Please, check this article for some more detailed information concerning BoxesItemStyle and how to apply it.

  • BoxesItemStyleSelector - introduced with the Q1 2016 release of UI for WPF, you can use the BoxesItemStyleSelector property to provide a way to easily apply styles based on some custom logic and thus to customize the items that are inside the boxes part of the control. You could use the style selector when you have more that one style defined for the same type of objects. In order to create a style selector, you need to create a class that inherits the StyleSelector and override the SelectStyle method - it should return the desired style based on the implemented custom logic.

See Also

In this article