Reputation: 16226
I would like to create a PanoramaItem that has no header at all. I would like to place some controls in this PanoramaItem and I want them to occupy the whole space. Of course I was able to delete the header text and change the font to smaller, but still there are some margins left. This might be easy, but I am new to WP7 development...
Is it possible to achieve and how?
Thanks in advance!
Upvotes: 3
Views: 2780
Reputation: 1
<phone:Panorama.HeaderTemplate>
<DataTemplate>
<TextBlock FontSize="1"/>
</DataTemplate>
</phone:Panorama.HeaderTemplate>
it's a very funny method but for WP 8.1 Silverlight Apps this works fine.
Upvotes: 0
Reputation: 18501
Negative top margin may be the quickest way to get rid the stubborn header padding.
<controls:Panorama Margin="0,-25,0,0">
</controls:Panorama>
Upvotes: 3
Reputation: 8126
You need to modify Styles of Panorama. There is was a question recently for Pivot here: Creating Pivot Footers on Windows phone 7 application, but you can do the same with a Panorama
Upvotes: 0