Setting the first item in the list
Could you please help me design the ItemTemplate for the list. I need to display data like in the image. Therefore, the first element must be customized (big picture, different fonts, etc.), and below - others. So how can I do this, or should I separate controls, for the first item and the others?
+3
Roman Golenok
source
to share
2 answers
You may find the following helpful "Windows Phone 7 DataTemplateSelector and CustomDataTemplateSelector Implementation": -
http://www.windowsphonegeek.com/articles/Implementing-Windows-Phone-7-DataTemplateSelector-and-CustomDataTemplateSelector
+5
Paul diston
source
to share
You can use DataTemplateSelector. But you need to have a property in your subject to say that this is the first item. Go through this for help.
+1
gaurawerma
source
to share