Skip to content

Instantly share code, notes, and snippets.

@ik9999
Created October 31, 2015 23:07
Show Gist options
  • Select an option

  • Save ik9999/8e323f43779c35eeac19 to your computer and use it in GitHub Desktop.

Select an option

Save ik9999/8e323f43779c35eeac19 to your computer and use it in GitHub Desktop.
How to change font size for pivot titles in Windows Phone 8.1
<Pivot x:Uid="Pivot" Title="JOBSHUNTER" x:Name="pivot" FontSize="12" Margin="0,12,0,0">
<Pivot.HeaderTemplate>
<DataTemplate>
<TextBlock Text="{Binding}" FontSize="32" />
</DataTemplate>
</Pivot.HeaderTemplate>
<Pivot.TitleTemplate>
<DataTemplate>
<TextBlock Text="{Binding}" FontSize="18" />
</DataTemplate>
</Pivot.TitleTemplate>
*Your pivot items*
</Pivot>
You can also change FontStyle etc. that way - just add it to text blog properties.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment