BusyIndicator
Zeigt ein beschäftigtes Overlay über dem Inhalt an und schaltet visuelle Zustände basierend auf dem IsBusy um.
Erbt von: ContentControl
Eigenschaften
public object BusyContent { get; set; }
value = busyIndicator.BusyContent
busyIndicator.BusyContent = value
Inhalt wird angezeigt, während das Steuerelement beschäftigt ist.
public DataTemplate BusyContentTemplate { get; set; }
value = busyIndicator.BusyContentTemplate
busyIndicator.BusyContentTemplate = value
Vorlage zum Rendern von BusyContent.
public bool IsBusy { get; set; }
value = busyIndicator.IsBusy
busyIndicator.IsBusy = value
Gibt einen Wert an, der angibt, ob das Besetzte Overlay angezeigt wird.
protected bool IsContentVisible { get; set; }
value = busyIndicator.IsContentVisible
busyIndicator.IsContentVisible = value
Gibt einen Wert an, der angibt, ob der belegte Inhalt sichtbar sein soll.
public Style OverlayStyle { get; set; }
value = busyIndicator.OverlayStyle
busyIndicator.OverlayStyle = value
Bekommt oder legt den Stil auf das Overlay-Element an, das den Inhalt abdeckt, wenn es beschäftigt ist.
Methoden
protected virtual void ChangeVisualState(bool useTransitions)
busyIndicator.ChangeVisualState(useTransitions)
Schaltet den visuellen Zustand des Steuerelements um, um die aktuellen Werte von IsBusy und IsContentVisible zu reflektieren.
- useTransitions
- Wahr, visuelle Übergänge zu verwenden; ansonsten falsch.
public override void OnApplyTemplate()
busyIndicator.OnApplyTemplate()
Erstellt den visuellen Baum für das LayoutTransformer @ Steuerelement, wenn eine neue Vorlage angewendet wird.
protected virtual void OnIsBusyChanged(DependencyPropertyChangedEventArgs e)
busyIndicator.OnIsBusyChanged(e)
Wird aufgerufen, wenn sich der IsBusy Eigenschaftswert ändert.
Felder
public static readonly DependencyProperty BusyContentProperty
value = BusyIndicator.BusyContentProperty
Inhalt wird angezeigt, während das Steuerelement beschäftigt ist.
public static readonly DependencyProperty BusyContentTemplateProperty
value = BusyIndicator.BusyContentTemplateProperty
Vorlage zum Rendern von BusyContent.
public static readonly DependencyProperty IsBusyProperty
value = BusyIndicator.IsBusyProperty
Identifiziert die Abhängigkeitseigenschaft IsBusy.
public static readonly DependencyProperty OverlayStyleProperty
value = BusyIndicator.OverlayStyleProperty
Identifiziert die Abhängigkeitseigenschaft OverlayStyle.