recreate comparison view in WPF

1 Answer 92 Views
GridView ListBox
Will
Top achievements
Rank 1
Iron
Will asked on 10 Feb 2022, 10:00 PM
Hi, I'm trying to recreate a comparison view like the one attached. Is there a recommended way of going about this? I was hoping to be able to just use RadGridView but I can't get the data to show in columns properly. Maybe a RadListBox?

1 Answer, 1 is accepted

Sort by
1
Accepted
Martin Ivanov
Telerik team
answered on 15 Feb 2022, 09:35 PM

Hello Will,

There is no specialized control in the Telerik suite that will allow you to implement this exact type of visualization. However, you can do it with some customization in RadGridView or ListBox. Or if you don't need much interaction, but only comparison information, you can use a native ItemsControl with some custom custom UI in the ItemTemplate. For example, if you decide to use the approach with the ItemsControl or RadListBox, you can define the layout of each column using the ItemTemplate of the control. To achieve the column-based layout, you can set the ItemsPanelTemplate property of the associated control. For example, you can use a StackPanel (with horizontal orientation) or an UniformGrid). In the ItemTemplate, you can add a Grid panel with a set RowDefinitions (one for each value and one for the picture, the button and the other elements). 

I hope this information helps.

Regards,
Martin Ivanov
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.

Tags
GridView ListBox
Asked by
Will
Top achievements
Rank 1
Iron
Answers by
Martin Ivanov
Telerik team
Share this question
or