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

RadTileView and binding

2 Answers 115 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Dario
Top achievements
Rank 2
Dario asked on 04 Nov 2015, 12:01 PM

How can I binding header and content of items?

<telerik:RadTileView ItemsSource="{Binding BankAccounts}" IsVirtualizing="True"/>

 My goal is show my ​entities (for ex. Bank Account).

To show account's name on header livetimeitem and to list several properties of entities (for ex. Balance Amount, last ledger entry etc.) into content.

2 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 05 Nov 2015, 01:16 PM
Hi Dario,

In order to achieve your requirement you can create a view model which contains all customers with their information. For the header and content of the RadTileView, you can create DataTemplates in the application's resources and assign them to the ItemTemplate and ContentTemplate properties. I have created a sample project where you can see how to implement this approach.

If you have any other questions, please don't hesitate to contact us again.

Regards,
Dinko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Dario
Top achievements
Rank 2
answered on 05 Nov 2015, 01:21 PM
Thank you for examples. I will try it.
Tags
TileView
Asked by
Dario
Top achievements
Rank 2
Answers by
Dinko | Tech Support Engineer
Telerik team
Dario
Top achievements
Rank 2
Share this question
or