This is a migrated thread and some comments may be shown as answers.

PullToRefreshIndicatorStyle

1 Answer 24 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Christof
Top achievements
Rank 2
Christof asked on 21 Dec 2014, 08:51 AM
How can i edit the Template of the PullToRefreshIndicator?
I would like to change the Color and some margins.

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 22 Dec 2014, 03:47 PM
Hi Christof,

You can define a style, which targets PullToRefreshIndicatorControl (found in Telerik.UI.Xaml.Controls.Primitives.DataBoundListBox namespace) and assign it to RadDataBoundListBox.PullToRefreshIndicatorStyle property:

<telerikPrimitives:RadDataBoundListBox IsPullToRefreshEnabled="True"
                       ShowPullToRefreshWhenNoData="True"
                       RefreshRequested="RadDataBoundListBox_RefreshRequested"
                       ItemsSource="{Binding Source}" ...>
    <telerikPrimitives:RadDataBoundListBox.PullToRefreshIndicatorStyle>
        <Style TargetType="telerikListbox:PullToRefreshIndicatorControl">
            <Setter Property="Foreground" Value="Green" />
        </Style>


Best regards,
Ves
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
DataBoundListBox
Asked by
Christof
Top achievements
Rank 2
Answers by
Ves
Telerik team
Share this question
or