This question is locked. New answers and comments are not allowed.
My application will display 4-10 (roughly) tiles, it will vary, all with very similar content. The itemssource will be an observable collection of a custom class called "Events". No problem there, the functionality has been very intuitive so far.
I have also been asked to create one static tile, which is going to contain basically branding info for the application, and when expanded it will have a settings screen. So completely different from the other tiles. I'm trying to figure out what the best way to do this is. So far this is what I came up with:
* Add a dummy "Event" in my observable collection, which will always occupy the 0 spot.
* Add all the fields for both the regular tile, and the static tile to to the content templates but by default only show the regular fields
* In the tile loaded event (is there such a thing?), check to see if the tile holds the first event in the collection, if so, then alter the tile appropriately by hiding the normal stuff and showing the branding/settings info.
Is this the correct approach or is there a better way?
I have also been asked to create one static tile, which is going to contain basically branding info for the application, and when expanded it will have a settings screen. So completely different from the other tiles. I'm trying to figure out what the best way to do this is. So far this is what I came up with:
* Add a dummy "Event" in my observable collection, which will always occupy the 0 spot.
* Add all the fields for both the regular tile, and the static tile to to the content templates but by default only show the regular fields
* In the tile loaded event (is there such a thing?), check to see if the tile holds the first event in the collection, if so, then alter the tile appropriately by hiding the normal stuff and showing the branding/settings info.
Is this the correct approach or is there a better way?