Я пытаюсь добавить Pull to Refresh RadControl
от Telerik в пределах PivotItem
в WP8.WP8 Pull to Refresh inside Pivot
Это код:
<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' не существует на типе 'PivotItem' в XML namespace`
The attachable property 'PullToRefreshIndicatorStyle' не найден в типа 'RadDataBoundListBox'.
Элемент «PullToRefreshIndicatorStyle» не распознается или не доступен .
Как я могу заставить это работать в пределах управления PivotItem
?
Я добавил 'telerikPrimitives:' в PivotItem, но он не признает 'RadDataBoundListBox'. – Subby
Я имел в виду, что ему не хватало самого элемента управления. Я обновил ответ –