.Net Maui RadList Picker - How to customize dropdown?

1 Answer 61 Views
ListPicker
Darwin
Top achievements
Rank 1
Darwin asked on 18 Sep 2024, 04:40 AM

Hello,

Do you have a sample or documentation how to customize the dropdown of RadListPicker? If Yes, can you please provide me?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 18 Sep 2024, 10:53 AM

Hi Darwin,

We have the following topic for customizing the look&feel of the ListPicker dropdown: .NET MAUI ListPicker DropDown Styling.

I reviewed the topic and noticed the example misses the DropDownViewStyle definition  - in general, through the DropDownViewStyle you can apply styling to the whole dropdown, such as BackgroundColor, CornerRadius, BorderThickness.  Here is a quick example:

<Style TargetType="telerik:PickerDropDownContentView" x:Key="dropDownViewStyle">
    <Setter Property="BackgroundColor" Value="#E4FCFF"/>
    <Setter Property="CornerRadius" Value="8" />
    <Setter Property="BorderThickness" Value="2" />
    <Setter Property="BorderColor" Value="Blue" />
</Style>

I hope that would be of help.

Regards,
Yana
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
Darwin
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or