---
title: "Animated Loading Indicator in Syncfusion Windows Forms Grid"
published_at: "2012-12-11T19:47:00+00:00"
modified_at: "2025-03-18T13:51:57+00:00"
url: "https://www.syncfusion.com/blogs/post/animated-loading-indicator-in-syncfusion-windows-forms-grid"
excerpt: "We would like to illustrate how to enable an animated loading indicator for long-running operations in Syncfusion’s GridGroupingControl for Windows Forms. We do this by using a helper that asynchronously uses the .NET framework API ImageAnimator. The helper, being written..."
taxonomy_category:
  - "C#"
  - "Desktop"
  - "Development"
  - "Grid"
  - "Windows Forms"
---

# Animated Loading Indicator in Syncfusion Windows Forms Grid

[Syncfusion Guest Blogger](https://www.syncfusion.com/blogs/author/syncfusion-guest-blogger)

![Image](https://www.syncfusion.com/blogs/wp-content/uploads/2018/08/loading_indicator_4b6ca261.png)


We would like to illustrate how to enable an animated loading indicator for long-running operations in Syncfusion’s GridGroupingControl for Windows Forms. We do this by using a helper that asynchronously uses the .NET framework API **ImageAnimator**.

The helper, being written in a generic manner, can bind the animated loading indicator to any user interface control of the **Control** type.

| Member Type | Name | Description |
| --- | --- | --- |
| Static Method | Wire | Wires the control with the loading indicator and starts the animation. |
| Static Method | UnWire | Unwires the control from the loading indicator and stops the animation. |
| Static Property | Image | Gets or sets the animated image with multiple frames. |

***Table1: LoadingAnimator – Properties and Methods***

To wire the loading animator with the control before starting the long-running operation, the following code has to be handled in the respective event.

![clip_image001](https://blog.syncfusion.com/wp-content/uploads/2018/08/image-19.png "clip_image001")

Using the following code in the respective event, the loading animator can be unwired once the long-running process is complete.

![clip_image002](https://blog.syncfusion.com/wp-content/uploads/2018/08/image-20.png "clip_image002")

The default, animated image can be replaced with another image through the static **Image** property.

The following screenshots show the loading animator’s behavior for handling operations like loading, sorting, grouping, and filtering with a large set of records.

![clip_image004](https://blog.syncfusion.com/wp-content/uploads/2018/08/image-12.jpg "clip_image004")

;

#### *While Loading Data*

![clip_image006](https://blog.syncfusion.com/wp-content/uploads/2018/08/image-13.jpg "clip_image006")

***After Loading Data***

![clip_image008](https://blog.syncfusion.com/wp-content/uploads/2018/08/image-14.jpg "clip_image008")

***While Sorting by a Column***

![clip_image010](https://blog.syncfusion.com/wp-content/uploads/2018/08/image-15.jpg "clip_image010")

***After Sorting by a Column***

![clip_image012](https://blog.syncfusion.com/wp-content/uploads/2018/08/image-16.jpg "clip_image012")

***While Grouping by a Column***

![clip_image014](https://blog.syncfusion.com/wp-content/uploads/2018/08/image-17.jpg "clip_image014")

***After Grouping by a Column***

![clip_image016](https://blog.syncfusion.com/wp-content/uploads/2018/08/image-18.jpg "clip_image016")

***While Filtering***

![clip_image018](https://blog.syncfusion.com/wp-content/uploads/2018/08/image-19.jpg "clip_image018")

***After Filtering***

The link below takes you to a sample that illustrates these operations both programmatically (through menu items at the top) and at the UI level (through user interaction).

[AnimatedLoading_GGC.zip](https://www.syncfusion.com/downloads/Support/DirectTrac/98660/AnimatedLoading_GGC-1146142389.zip)
