How to Style SfDatagrid internal SfPullToRefresh from Resources

Is it possible to style internal SaDataGrid's SfPullToRefresh from a ResourcesDictionary?


Regards,


Diego


1 Reply

MM Muthukumar Madasamy Syncfusion Team March 2, 2026 12:37 PM UTC

Hi Diego,

Thank you for contacting us.

Yes, it is possible to style the internal SfPullToRefresh used inside the SfDataGrid through a ResourceDictionary. The internal pull‑to‑refresh control fully respects the same theme keys used by the standalone SfPullToRefresh component.
You can add the following resources in your ResourceDictionary, and the styles will automatically apply to the SfDataGrid’s pull‑to‑refresh UI:

<syncTheme:SyncfusionThemeResourceDictionary />
<ResourceDictionary>
    <x:String x:Key="SfPullToRefreshTheme">CommonTheme</x:String>
    <Color x:Key="SfPullToRefreshProgressBackground">Black</Color>
    <Color x:Key="SfPullToRefreshProgressColor">White</Color>
    <x:Double x:Key="SfPullToRefreshProgressThickness">10</x:Double>
</ResourceDictionary>

This approach works for both the standalone control and the internal pull‑to‑refresh used by the SfDataGrid when PullToRefreshEnabled is set.

For more details on available theme keys, please refer to our user guide: About Keys for Syncfusion® Controls | Syncfusion®

We have also attached a simple working sample along with an output screenshot to help you verify the behavior at your end.

Please let us know if you have any further questions. We’re happy to assist.

Best Regards,
Muthu Kumar Madasamy.

Attachment: DataGridSample198155_7595e69f.zip

Loader.
Up arrow icon