WP7: Can I change font size of Panorama view? in silverlight work

636 Views Asked by At

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!

1

There are 1 best solutions below

0
On BEST ANSWER

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>