Using RadWrapPanel in RadListPicker

4 posts, 0 answers
  1. Todd
    Todd avatar
    9 posts
    Member since:
    Mar 2013

    Posted 21 Mar 2013 Link to this post

    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?
  2. Todd
    Todd avatar
    9 posts
    Member since:
    Mar 2013

    Posted 24 Mar 2013 Link to this post

    Not sure what the protocol is here, but do I need to submit a support ticket to actually get an answer?
  3. DevCraft banner
  4. Todd
    Todd avatar
    9 posts
    Member since:
    Mar 2013

    Posted 26 Mar 2013 Link to this post

    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>





  5. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 27 Mar 2013 Link to this post

    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.
Back to Top
DevCraft banner