0

Possible Duplicate:
How to change font size of Panorama item header?

I have coded panorama view like this:

`<controls:Panorama Title="test">`

in WP7 silverlight. Is anyway I can change the font size or event font family?

Thanks!

Community
  • 1
  • 1
thsieh
  • 620
  • 8
  • 24

1 Answers1

2

Of course.

You can using template for this.

For example

<controls:Panorama Title="test">
<controls:Panorama.TitleTemplate>
                <DataTemplate>
                    <Grid Margin="0,80,0,0">
                        <TextBlock Foreground="Black" FontSize="20" Text="{Binding}"/>
                    </Grid>
                </DataTemplate>
            </controls:Panorama.TitleTemplate>
</controls:Panorama>
Roman Golenok
  • 1,427
  • 9
  • 26