【发布时间】:2015-08-02 14:03:03
【问题描述】:
我看不到我的 PivotItem,它是不可见的,但绑定是正确的:
我在 App.xaml 中的模板:
<DataTemplate x:Key="GoldStyle">
<ContentPresenter>
<TextBlock Text="{Binding}" FontFamily="Segoe Script" Foreground="Gold" FontSize="10" Margin="0,70,0,0" />
</ContentPresenter>
</DataTemplate>
我的支点:
<Pivot HeaderTemplate="{StaticResource GoldStyle}">
<PivotItem Header="Public Profile" >
<Grid>
<TextBlock Text="-Set your Steam Profile to Public (Steam Settings)" FontFamily="Segoe Script" TextWrapping="Wrap" Foreground="WhiteSmoke"></TextBlock>
</Grid>
</PivotItem>
<PivotItem Header="Features">
<TextBlock FontFamily="Segoe Script" Text="-Calculate Price" Foreground="WhiteSmoke"></TextBlock>
</PivotItem>
我做错了什么?
【问题讨论】: