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

Styling a RadWrapPanel

2 Answers 118 Views
VirtualizingWrapPanel
This is a migrated thread and some comments may be shown as answers.
Hardik
Top achievements
Rank 1
Hardik asked on 21 Aug 2012, 09:00 AM
Hii All,

I need to Style the RadWrapPanel, which gives the look and feel like a grid i.e. Rows and Columns.
When I add the RadWrapPanel and try to edit its style in Expression Blend, it just give me option of creating an Empty Template rather than editing its original template.
The records are getting populated in a telerik:ListBox, to which the RadWrapPanel is applied.
So do I need to style the ListBox or the RadWrapPanel?
Kindly help me out.

Thanks and Regards,
Hardik

2 Answers, 1 is accepted

Sort by
0
Graeme
Top achievements
Rank 2
answered on 19 Sep 2012, 04:37 AM
Why not colour the background of the Listbox with the grid color and set a margin for the ListBoxItem template?
0
Hardik
Top achievements
Rank 1
answered on 21 Sep 2012, 08:59 AM
Hi Graeme,

Thank you so much for the valuable feedback. I tried styling it like the gridview but the thing is that when the no. of records are less, the output is like the follow:

http://imageshack.us/photo/my-images/222/demowrappanel.png/

So when I reduce the height of the ListBox or the WrapPanel, the records get hidden.
I want to display a vertical scrollbar in case if the no. of records are more. Is it possible to display scrollbars in telerik:ListBox?

Thanks and Regards,
Hardik
Tags
VirtualizingWrapPanel
Asked by
Hardik
Top achievements
Rank 1
Answers by
Graeme
Top achievements
Rank 2
Hardik
Top achievements
Rank 1
Share this question
or