Class BusyIndicator
A control to provide a visual indicator when an application is busy.
Inheritance
Inherited Members
Namespace: System.Windows.Controls
Assembly: OpenSilver.dll
Syntax
[StyleTypedProperty(Property = "OverlayStyle", StyleTargetType = typeof(Rectangle))]
public class BusyIndicator : ContentControl
Constructors
| Improve this Doc View SourceBusyIndicator()
Instantiates a new instance of the BusyIndicator control.
Declaration
public BusyIndicator()
Fields
| Improve this Doc View SourceBusyContentProperty
Identifies the BusyContent dependency property.
Declaration
public static readonly DependencyProperty BusyContentProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
BusyContentTemplateProperty
Identifies the BusyTemplate dependency property.
Declaration
public static readonly DependencyProperty BusyContentTemplateProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
DisplayAfterProperty
Identifies the DisplayAfter dependency property.
Declaration
public static readonly DependencyProperty DisplayAfterProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IsBusyProperty
Identifies the IsBusy dependency property.
Declaration
public static readonly DependencyProperty IsBusyProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
OverlayStyleProperty
Identifies the OverlayStyle dependency property.
Declaration
public static readonly DependencyProperty OverlayStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ProgressBarStyleProperty
Identifies the ProgressBarStyle dependency property.
Declaration
public static readonly DependencyProperty ProgressBarStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceBusyContent
Gets or sets a value indicating the busy content to display to the user.
Declaration
public object BusyContent { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
BusyContentTemplate
Gets or sets a value indicating the template to use for displaying the busy content to the user.
Declaration
public DataTemplate BusyContentTemplate { get; set; }
Property Value
Type | Description |
---|---|
DataTemplate |
DisplayAfter
Gets or sets a value indicating how long to delay before displaying the busy content.
Declaration
public TimeSpan DisplayAfter { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
IsBusy
Gets or sets a value indicating whether the busy indicator should show.
Declaration
public bool IsBusy { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsContentVisible
Gets or sets a value indicating whether the BusyContent is visible.
Declaration
protected bool IsContentVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
OverlayStyle
Gets or sets a value indicating the style to use for the overlay.
Declaration
public Style OverlayStyle { get; set; }
Property Value
Type | Description |
---|---|
Style |
ProgressBarStyle
Gets or sets a value indicating the style to use for the progress bar.
Declaration
public Style ProgressBarStyle { get; set; }
Property Value
Type | Description |
---|---|
Style |
Methods
| Improve this Doc View SourceChangeVisualState(Boolean)
Changes the control's visual state(s).
Declaration
protected virtual void ChangeVisualState(bool useTransitions)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | useTransitions | True if state transitions should be used. |
OnApplyTemplate()
Overrides the OnApplyTemplate method.
Declaration
public override void OnApplyTemplate()
Overrides
| Improve this Doc View SourceOnIsBusyChanged(DependencyPropertyChangedEventArgs)
IsBusyProperty property changed handler.
Declaration
protected virtual void OnIsBusyChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
DependencyPropertyChangedEventArgs | e | Event arguments. |