我正在使用 Silverlight 5 的新数据透视查看器,但无法在详细信息窗格中获取超链接标题。
<sdk:PivotViewer Name="pivotView">
<sdk:PivotViewer.PivotProperties>
<sdk:PivotViewerStringProperty Id="TitleProperty" DisplayName="Title" Options="CanSearchText" Binding="{Binding Title}" />
<sdk:PivotViewerDateTimeProperty Id="YearProperty" DisplayName="Year" Options="CanFilter" Binding="{Binding Year}"/>
<sdk:PivotViewerStringProperty Id="TypeProperty" DisplayName="Type" Options="CanFilter" Binding="{Binding Type}"/>
<sdk:PivotViewerNumericProperty Id="AvgProperty" DisplayName="Average" Options="CanFilter" Binding="{Binding Avg}"/>
<sdk:PivotViewerNumericProperty Id="RankProperty" DisplayName="Rank" Options="CanFilter" Binding="{Binding Rank}"/>
<sdk:PivotViewerNumericProperty Id="EpisodeProperty" DisplayName="Episodes" Options="CanFilter" Binding="{Binding EpisodeCount}"/>
<sdk:PivotViewerLinkProperty Id="UriProperty" DisplayName="Location" Binding="{Binding Title}"/>
</sdk:PivotViewer.PivotProperties>
<sdk:PivotViewer.ItemTemplates>
<sdk:PivotViewerItemTemplate>
<Border Width="200" Height="200" Background="Gray">
<StackPanel Orientation="Vertical">
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Title}"/>
</StackPanel>
</StackPanel>
</Border>
</sdk:PivotViewerItemTemplate>
</sdk:PivotViewer.ItemTemplates>
</sdk:PivotViewer>