我将数据绑定到列表视图,需要在Web浏览器中显示HTML字符串。我该怎么做?这是清单:
<ListBox Margin="0,0,-12,0" ItemsSource="{Binding}" Name="postsList">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Margin="0,0,0,17" Width="432">
<TextBlock Text="{Binding Path=name}" TextWrapping="NoWrap" Style="{StaticResource PhoneTextSubtleStyle}"/>
<TextBlock Text="{Binding Path=content}" TextWrapping="Wrap" Margin="12,-6,12,0" Style="{StaticResource PhoneTextNormalStyle}"/>
<phone:WebBrowser Source="{Binding Path=webContent}" Margin="12,-6,12,0" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
TIA, ng93