Class BusyIndicator
Represents a class that provides the animation for an image based on the time-based frames.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.Core.Utils
Assembly: Syncfusion.Core.WinForms.dll
Syntax
public class BusyIndicator : IDisposable
Constructors
BusyIndicator()
Initializes a new instance of the BusyIndicator class.
Declaration
public BusyIndicator()
Properties
Image
Gets or sets the image for the busy indicator.
Declaration
public Image Image { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Image |
Location
Gets or sets the location of the busy indicator.
Declaration
public Point Location { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Point |
Methods
Dispose()
Releases all resources used by the BusyIndicator.
Declaration
public void Dispose()
Dispose(Boolean)
Cleans up any resources being used by the BusyIndicator class.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing | True to release both managed and unmanaged resources; false to release only unmanaged resources. |
Hide()
Hides the busy indicator for the control.
Declaration
public void Hide()
Show(Control)
Shows the busy indicator for the given control.
Declaration
public void Show(Control control)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.Control | control | The control which needs to be display the busy indicator. |
Remarks
By default, busy Indicator will be displayed at the center of the control until set the Location property.
Show(Control, Image)
Displays the busy indicator for the given control with the given image.
Declaration
public void Show(Control control, Image image)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.Control | control | The control which needs to be display the busy indicator. |
| System.Drawing.Image | image | The image which needs to be shown as the busy indicator. |
Remarks
By default, busy Indicator will be displayed at the center of the control until set the Location property.
Show(Control, Image, Point)
Displays the busy indicator for the given control based on the given image and location
Declaration
public void Show(Control control, Image image, Point location)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.Control | control | The control which needs to be display the busy indicator. |
| System.Drawing.Image | image | The image which needs to be shown as the busy indicator. |
| System.Drawing.Point | location | The location of the busy Indicator. |
Show(Control, Point)
Displays the busy indicator for the given control at the given location.
Declaration
public void Show(Control control, Point location)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Forms.Control | control | The control which needs to be display the busy indicator. |
| System.Drawing.Point | location | The location of the busy Indicator. |