Dropdown button in ListPicker

1 Answer 231 Views
ListPicker
Larry
Top achievements
Rank 1
Iron
Iron
Veteran
Larry asked on 22 Jun 2022, 01:53 AM

[Please ignore this same question in my other post about the hover style in the grid; putting it here to focus on this one subject]

How do I change the ListPicker to not show the dropdown button on the right side of the control? This is another change from Xamarin Forms to Maui and I don't see how to affect this.

Example from Xamarin Forms:

Same code in Maui:

1 Answer, 1 is accepted

Sort by
0
Antoan
Telerik team
answered on 22 Jun 2022, 11:44 AM

Hello Larry,

Thank you for the provided screenshot.

The button you are seeing on the screen is a new addition to our controls coming from Xamarin to .NET MAUI, all types of pickers have a toggle button in Desktop to reflect a better design. To disable it and make it look like the old Xamarin controls you can use the "IsToggleButtonVisible" property and set it to "false". The code for achieving that result would look something like this:

<telerik:RadListPicker x:Name="listPicker"
                               IsToggleButtonVisible="False">

 

I hope the provided information helps.

Regards,
Antoan
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
ListPicker
Asked by
Larry
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Antoan
Telerik team
Share this question
or