Class SfBusyIndicator
Represents a control that allows the user to define when another program is in progress
Inheritance
Implements
Namespace: Syncfusion.Windows.Controls.Notification
Assembly: Syncfusion.SfBusyIndicator.WPF.dll
Syntax
public class SfBusyIndicator : ContentControl, IDisposable
Remarks
The busy indicator control is an animation technique, used to enable the user to know that another process is in progress.
Constructors
SfBusyIndicator()
Initializes a new instance of the SfBusyIndicator class.
Declaration
public SfBusyIndicator()
See Also
Fields
AnimationSpeedProperty
Gets or sets the animation speed of busyindicator. Using this property, you can change the speed of animation.
Declaration
public static readonly DependencyProperty AnimationSpeedProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
Remarks
This
AnimationTypeProperty
Gets or sets the animation types of busyindicator. It is used to change the various types of animation.
Declaration
public static readonly DependencyProperty AnimationTypeProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
Remarks
This
HeaderProperty
Identifies the Header property of busy indicator. It is used to give the header to the SfBusyIndicator
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
Remarks
This
HeaderTemplateProperty
Identifies HeaderTemplate. It is used to give the template to the header in SfBusyIndicator.
Declaration
public static readonly DependencyProperty HeaderTemplateProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
IsBusyProperty
Identifies the IsBusy property of busy indicator. It is used to determine whether the animation of indiacator to be shown or not
Declaration
public static readonly DependencyProperty IsBusyProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
Remarks
This
ViewboxHeightProperty
Identifies ViewBoxHeight. It is used to change the height of the view box
Declaration
public static readonly DependencyProperty ViewboxHeightProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
Remarks
This
ViewboxWidthProperty
Identifies ViewBoxWidth. It is used to change the width of the view box
Declaration
public static readonly DependencyProperty ViewboxWidthProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
Remarks
This
Properties
AnimationSpeed
Gets or sets the Maximum and Minimum AnimationSpeed. Using this property, you can change the speed of animation.
Declaration
public double AnimationSpeed { get; set; }
Property Value
| Type |
|---|
| System.Double |
AnimationType
Gets or sets the AnimationType of the Syncfusion.UI.Xaml.Controls.Notification.SfBusyIndicator
Declaration
public AnimationTypes AnimationType { get; set; }
Property Value
| Type | Description |
|---|---|
| AnimationTypes | The default value is Syncfusion.UI.Xaml.Controls.Notification.AnimationTypes.Flower. |
See Also
Header
Gets or sets the Header of the Syncfusion.UI.Xaml.Controls.Notification.SfBusyIndicator
Declaration
public object Header { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object | The default value is null. |
HeaderTemplate
Gets or sets the HeaderTemplate of the Syncfusion.UI.Xaml.Controls.Notification.SfBusyIndicator
Declaration
public DataTemplate HeaderTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.DataTemplate | The default value is null. |
IsBusy
Gets or sets a value indicating whether Syncfusion.UI.Xaml.Controls.Notification.SfBusyIndicator is busy.
Declaration
public bool IsBusy { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
ViewboxHeight
Gets or sets the ViewBox Height of the Syncfusion.UI.Xaml.Controls.Notification.SfBusyIndicator
Declaration
public double ViewboxHeight { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The default value is 0.0. |
ViewboxWidth
Gets or sets the ViewBox Width of the Syncfusion.UI.Xaml.Controls.Notification.SfBusyIndicator
Declaration
public double ViewboxWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The default value is 0.0. |
Methods
Dispose()
Disposes the Syncfusion.UI.Xaml.Controls.Notification.SfBusyIndicator control while unloading.
Declaration
public void Dispose()
Dispose(Boolean)
Dispose Method to remove all the instance.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing | boolean as disposing |
OnAnimationTypeChanged(DependencyPropertyChangedEventArgs)
Sets the State of Animation type of the argsSyncfusion.UI.Xaml.Controls.Notification.SfBusyIndicator control.
Declaration
protected virtual void OnAnimationTypeChanged(DependencyPropertyChangedEventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | DependencyPropertyChangedEventArgs as args |
OnApplyTemplate()
Sets the State of Animation type of theSyncfusion.UI.Xaml.Controls.Notification.SfBusyIndicator control while applying template.
Declaration
public override void OnApplyTemplate()
OnPropertyChanged(DependencyPropertyChangedEventArgs)
On property changed
Declaration
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | e | event args |