C# WP8拉动以刷新内部枢轴
我试图在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
数据透视项中添加一个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
。我的意思是它缺少控件本身。我更新了答案