Am developing a simple app for learning pivot control
in wp7.
can we add images for pivot item instead of text in header(red mark area in bellow image )
with the Idea of @toni petrina i added images to the HeaderTemplate
to the pivot control using data binding
. am implemented image gallery in my app using pivot with images in header template gives great look and feel
Xaml code is :
and i have created a simple class
with one string property
to save the images source
and prepared a List
and assigned to the pivot ItemsSource
on page loaded event
mainPivot.ItemsSource = items; // items is the list with image sources