0

我正在制作一个 rss 应用程序,我想在数据透视项上包含拉动刷新功能,而不是单独的刷新按钮。我尝试了不同的鼠标事件处理程序,但它们不能正常工作。有任何想法吗?

4

2 回答 2

0

我建议您将 Telerik 的 RadDataBoundListBox 与 PivotItem 一起使用

<phone:PivotItem Header="Title" Foreground="Black">
<telerikPrimitives:RadDataBoundListBox>
    <telerikPrimitives:RadDataBoundListBox.PullToRefreshIndicatorStyle>
        <Style TargetType="telerikListBox:PullToRefreshIndicatorControl">
           <Setter Property="RefreshTimeLabelFormat" Value="last refresh time:{0:H:mm}"/>
        </Style>
    </telerikPrimitives:RadDataBoundListBox.PullToRefreshIndicatorStyle>
</telerikPrimitives:RadDataBoundListBox>


我还建议您在手机上下载 Telerik WP 控件http://www.telerik.com/products/windows-phone.aspx#Demo

于 2015-02-03T03:39:12.907 回答
0

我创建了一个实现“拉动刷新”功能和“按需加载数据”的简单控件,您可以在nuget中找到它,从这篇博文中了解它。适用于 Windows 8 和 Windows Phone 8.1

在此处输入图像描述

于 2015-02-07T19:42:36.117 回答