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

How to change the group item panel to wrappanel

2 Answers 88 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
rui
Top achievements
Rank 1
rui asked on 20 Sep 2017, 02:46 AM
Use panelbar How to change the group item  panel to a wrappanel

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 22 Sep 2017, 02:09 PM
Hello Rui,

We are working with limited resources because of the national holidays in Bulgaria and will need some more time to look into the case.

I will mark this ticket as requiring an additional answer and we will get back to you once we have more information on your scenario.

Thank you in advance for understanding.

Regards,
Stefan X1
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Stefan
Telerik team
answered on 29 Sep 2017, 11:39 AM
Hi Rui,

Thank you for your patience.

A possible approach for meeting this requirement would be to set the template of the ItemsPanel of RadPanelBarItem. Please, refer to the snippet below.
<Style TargetType="telerik:RadPanelBarItem" BasedOn="{StaticResource RadPanelBarItemStyle}">
                <Setter Property="ItemsPanel">
                    <Setter.Value>
                        <ItemsPanelTemplate>
                            <WrapPanel />
                        </ItemsPanelTemplate>
                    </Setter.Value>
                </Setter>
            </Style>

I hope you find this helpful. Do let me know in case I can be of further assistance.

All the best,
Stefan X1
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
PanelBar
Asked by
rui
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or