Last item as button in radribboncombobox

1 Answer 49 Views
RibbonView and RibbonWindow
Ashvini
Top achievements
Rank 1
Ashvini asked on 07 Oct 2021, 10:05 AM | edited on 07 Oct 2021, 10:05 AM

Hi,

I am using radribboncombobox to display toolbar.we want to display combobox like shown in image.

last item as default item i.e "manage filters"  in combobox and also other items are grouped as per category "shared" or "personal".

 

is it possible?

How to do it using template.?

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 12 Oct 2021, 08:33 AM

Hello Ashvini,

Thank you for the provided image.

To select the last item as the default, you can set its IsSelected property to True. As for grouping the items, you can create dummy items and modify their appearance via a ItemContainerStyleSelector. You can set their IsHitTestVisible property to False to disallow their selection.

I've prepared a small sample project to demonstrate what I have in mind. You can further modify the styles to change the appearance of the items and even totally override their control templates until you achieve the desired result. You can also define additional tags if you would like to have more types of items.

I hope you find this helpful.

Regards,
Dilyan Traykov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
RibbonView and RibbonWindow
Asked by
Ashvini
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or