BusyIndicator makes it easy to let the user know when an application is busy. Simply wrap the relevant content in an instance of the BusyIndicator control and toggle its IsBusy property to True during any long-running process.
example:
1 | <hc:BusyIndicator IsBusy="True" > |
Custom Content
1 | <hc:BusyIndicator IsBusy="True" DisplayAfter="0"> |
Attributes
| Property | Description |
|---|---|
| BusyContent | Gets or sets the busy content to display to the user. |
| BusyContentTemplate | Gets or sets the DataTemplate to use for displaying the busy content to the user. |
| DisplayAfter | Gets or sets the time interval that the busy content is delayed before being displayed. |
| FocusAfterBusy | Gets or sets a control that should get focus when the busy indicator disappears. |
| IsBusy | Gets or sets a value indicating whether the busy indicator should be shown. |
| IsContentVisible | Gets or sets a value indicating whether the BusyContent is visible. |
| OverlayStyle | Gets or sets a Style object representing the style to use for the overlay. By default, null. |
| ProgressBarStyle | Gets or sets a Style object representing the style to use for the progress bar. By default, null. |
