如何更改 XAML PivotItem header in Windows Phone 8 中的字体大小和系列
How can I Change the font size and family of a XAML PivotItem header in Windows Phone 8
我在我的 Windows Phone 8 应用程序中添加了一个 Pivot 控件,我只想更改 Pivot Items 的字体大小和字体系列。我在 blend 工作,如果可以给出关于 Blend for visual studio.
的答案,我更愿意
<phone:Pivot HorizontalAlignment="Left" Height="689" Margin="10,10,0,0" VerticalAlignment="Top" Width="436">
<phone:PivotItem CacheMode="{x:Null}">
<Grid/>
</phone:PivotItem>
这是一个选项,您可以像这样编辑您的xaml
<phone:PivotItem CacheMode="{x:Null}">
<phone:PivotItem.Header>
<TextBlock Text="PHOTOS" FontSize="30" FontFamily="Consolas"/>
</phone:PivotItem.Header>
<Grid/>
</phone:PivotItem>
我在我的 Windows Phone 8 应用程序中添加了一个 Pivot 控件,我只想更改 Pivot Items 的字体大小和字体系列。我在 blend 工作,如果可以给出关于 Blend for visual studio.
的答案,我更愿意<phone:Pivot HorizontalAlignment="Left" Height="689" Margin="10,10,0,0" VerticalAlignment="Top" Width="436">
<phone:PivotItem CacheMode="{x:Null}">
<Grid/>
</phone:PivotItem>
这是一个选项,您可以像这样编辑您的xaml
<phone:PivotItem CacheMode="{x:Null}">
<phone:PivotItem.Header>
<TextBlock Text="PHOTOS" FontSize="30" FontFamily="Consolas"/>
</phone:PivotItem.Header>
<Grid/>
</phone:PivotItem>