This is a migrated thread and some comments may be shown as answers.

Using RadWrapPanel in RadListPicker

3 Answers 47 Views
ListPicker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Todd
Top achievements
Rank 1
Todd asked on 21 Mar 2013, 11:41 PM
I can't seem to find a way to set the ItemsPanel for a RadListPicker with a RadWrapPanel for the list picker's popup. Is there a way to do this?

3 Answers, 1 is accepted

Sort by
0
Todd
Top achievements
Rank 1
answered on 24 Mar 2013, 05:07 PM
Not sure what the protocol is here, but do I need to submit a support ticket to actually get an answer?
0
Todd
Top achievements
Rank 1
answered on 26 Mar 2013, 11:21 PM
Was able to figure this out. Just created a PopupStyle="{StaticResource RadListPickerPopupStyleWrap}" in my RadListPicker and put this in the page resources:

<Style x:Key="RadListPickerPopupStyleWrap" TargetType="telerikPrimitives:RadDataBoundListBox">

<Setter Property="FontSize" Value="{StaticResource PhoneFontSizeExtraLarge}"/>

<Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiLight}"/>

<Setter Property="Background" Value="{StaticResource PhoneChromeBrush}"/>

<Setter Property="HorizontalAlignment" Value="Stretch"/>

<Setter Property="VerticalAlignment" Value="Stretch"/>

<Setter Property="VirtualizationStrategyDefinition">

<Setter.Value>

<telerikPrimitives:WrapVirtualizationStrategyDefinition Orientation="Horizontal" WrapLineAlignment="Center"/>

</Setter.Value>

</Setter>

<Setter Property="CheckBoxStyle">

<Setter.Value>

<Style TargetType="telerikPrimitives:ItemCheckBox">

<Setter Property="VerticalAlignment" Value="Center"/>

<Setter Property="Margin" Value="0, 0, -18, 0"/>

</Style>

</Setter.Value>

</Setter>

</Style>





0
Deyan
Telerik team
answered on 27 Mar 2013, 07:46 AM
Hello Todd,

Thanks for writing and please excuse us for the delay with our answer.

You do not need to open a support ticket to get an answer from us. Support tickets allow you to additionally attach sample projects that will help us debug a scenario.

It's good to see that you've managed to resolve your case.

Let us know if you have additional questions.

Regards,
Deyan
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
ListPicker
Asked by
Todd
Top achievements
Rank 1
Answers by
Todd
Top achievements
Rank 1
Deyan
Telerik team
Share this question
or