Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/260.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# WP8拉动以刷新内部枢轴_C#_Windows Phone 8_Telerik_Refresh_Pivot - Fatal编程技术网

C# WP8拉动以刷新内部枢轴

C# WP8拉动以刷新内部枢轴,c#,windows-phone-8,telerik,refresh,pivot,C#,Windows Phone 8,Telerik,Refresh,Pivot,我试图在WP8中的数据透视项中添加一个Pull来刷新Telerik中的RadControl 代码如下: <phone:PivotItem Header="Title" Foreground="Black"> <telerikPrimitives:RadDataBoundListBox.PullToRefreshIndicatorStyle> <Style TargetType="telerikListBox:PullToRefreshIndi

我试图在WP8中的
数据透视项中添加一个Pull来刷新Telerik中的
RadControl

代码如下:

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

错误消息:

类型上不存在属性“PullToRefreshIndicatorStyle” XML命名空间中的“PivotItem”`

在中找不到可附加属性“PullToRefreshIndicatorStyle” 键入“RadDataBoundListBox”

成员“PullToRefreshIndicatorStyle”未被识别或无法识别 容易接近


如何在
PivotItem
控件中使其工作?

看起来您缺少一些标记。您不想在透视项中定义telerikPrimitives:RadDataBoundListBox吗?”

例如:

<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>
</phone:PivotItem>

看起来您缺少一些标记。您不想在透视项中定义telerikPrimitives:RadDataBoundListBox吗?”

例如:

<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>
</phone:PivotItem>


我在数据透视项中添加了
telerikPrimitives:
,但它无法识别
RadDataBoundListBox
。我的意思是它缺少控件本身。我更新了应答我在数据透视项中添加了
telerikPrimitives:
,但它没有识别
RadDataBoundListBox
。我的意思是它缺少控件本身。我更新了答案