This project is read-only.

ElementFlow: Setting Individual Item DataTemplate

Dec 8, 2009 at 6:53 PM


Apologies if this is a silly question, but is it possible to set the DataTemplate of a specific Item in ElementFlow?

E.g. for the item at index 3 of my ElementFlow control, is it possible to change its DataTemplate (where its border etc is defined) to a different DataTemplate to make it stand out more from the other elements? Does anyone have any ideas how to go about this?

So far I have only been able to change the DataTemplate for the entire control by doing something like this: 

_elementFlow.ItemTemplate = FindResource("SingleItemTemplate") as DataTemplate;

Thanks in advance for your help,