Add your thoughts here… (optional)
Creating a pivot (or panorama) indicator could be a challenging task. The control should:
- Indicate in which item of the collection you are looking at
- Let you tap on a given item and navigate in the panorama to that given item
- Let you customize the look and feel of the items.
The Solution: A Second thought
Sounds like the perfect scenario for a custom control, and in some of the cases it is. However, after some minutes thinking about this idea, I realized that the ListBox supports most of these requirements but only one pending task: it has to interact properly with the Panorama or Pivot. Thus, the current solution uses a ListBox (Custom Styles and Templates) for modifying the look and file, and prepares a behavior (more specifically a TargetedTriggeredAction<T1,T2> ) for letting the ListBox interact with a index based collection (e.g. Pivot, Panorama, ListBox, etc…
Ver la entrada original 295 palabras más