RadListPicker - watermark place

1 Answer 55 Views
ListPicker
Daniel
Top achievements
Rank 1
Silver
Bronze
Daniel asked on 22 Mar 2022, 09:34 AM

 

Hi,

Look on the Select location .

 


  <telerikInput:RadListPicker Grid.Row="0" Grid.Column="3" x:Name="routeTypeListPicker"  HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand" HeightRequest="40"  WidthRequest="120" Margin="5"
                          ItemsSource="{Binding RouteTypeItems}" 
                          DisplayMemberPath="Value"
                          SelectedItem="{Binding SelectedRouteTypeItem, Mode=TwoWay}">
                    </telerikInput:RadListPicker>

1 Answer, 1 is accepted

Sort by
0
Lance | Manager Technical Support
Telerik team
answered on 22 Mar 2022, 01:58 PM

Hello Daniel,

Than you for sharing, I have opened a Bug Report for this.

Solution

Meanwhile, you can always define your own placeholder content. Please see .NET MAUI ListPicker Documentation | Templates. Just use your own Label and set the VerticalOptions/HorizontalOptions to your desired values.

Unrelated, but Important

I noticed you use CenterAndExpand a lot. I recommend avoid using any of the "AndExpand" options. It causes unexpected/misunderstood results. If you want something centered, use Center, not CenterAndExpand. If you want something at the beginning, but still want it to stretch, you can just use "Start" and not "StartAndExpand".

Regards,
Lance | Manager Technical Support
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.

Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 22 Mar 2022, 02:44 PM

I remove all *Expand to * in all my project
Tags
ListPicker
Asked by
Daniel
Top achievements
Rank 1
Silver
Bronze
Answers by
Lance | Manager Technical Support
Telerik team
Share this question
or