BusyIndicator
Displays a busy overlay on top of the content and toggles visual states based on the IsBusy flag.
Inherits: ContentControl
Properties
public object BusyContent { get; set; }
value = busyIndicator.BusyContent
busyIndicator.BusyContent = value
Content displayed while the control is busy.
public DataTemplate BusyContentTemplate { get; set; }
value = busyIndicator.BusyContentTemplate
busyIndicator.BusyContentTemplate = value
Template to render the BusyContent.
public bool IsBusy { get; set; }
value = busyIndicator.IsBusy
busyIndicator.IsBusy = value
Gets or sets a value indicating whether the busy overlay is shown.
protected bool IsContentVisible { get; set; }
value = busyIndicator.IsContentVisible
busyIndicator.IsContentVisible = value
Gets or sets a value indicating whether the busy content should be visible.
public Style OverlayStyle { get; set; }
value = busyIndicator.OverlayStyle
busyIndicator.OverlayStyle = value
Gets or sets the style applied to the overlay element that covers the content when busy.
Methods
protected virtual void ChangeVisualState(bool useTransitions)
busyIndicator.ChangeVisualState(useTransitions)
Switches the control's visual state to reflect the current values of IsBusy and IsContentVisible.
- useTransitions
- True to use visual transitions; otherwise false.
public override void OnApplyTemplate()
busyIndicator.OnApplyTemplate()
Builds the visual tree for the LayoutTransformer control when a new template is applied.
protected virtual void OnIsBusyChanged(DependencyPropertyChangedEventArgs e)
busyIndicator.OnIsBusyChanged(e)
Called when the IsBusy property value changes.
Fields
public static readonly DependencyProperty BusyContentProperty
value = BusyIndicator.BusyContentProperty
Content displayed while the control is busy.
public static readonly DependencyProperty BusyContentTemplateProperty
value = BusyIndicator.BusyContentTemplateProperty
Template to render the BusyContent.
public static readonly DependencyProperty IsBusyProperty
value = BusyIndicator.IsBusyProperty
Identifies the IsBusy dependency property.
public static readonly DependencyProperty OverlayStyleProperty
value = BusyIndicator.OverlayStyleProperty
Identifies the OverlayStyle dependency property.