BusyIndicator

Ecng.Xaml

Zeigt ein beschäftigtes Overlay über dem Inhalt an und schaltet visuelle Zustände basierend auf dem IsBusy um.

Erbt von: ContentControl

Eigenschaften

BusyContent
public object BusyContent { get; set; }
value = busyIndicator.BusyContent
busyIndicator.BusyContent = value

Inhalt wird angezeigt, während das Steuerelement beschäftigt ist.

BusyContentTemplate
public DataTemplate BusyContentTemplate { get; set; }
value = busyIndicator.BusyContentTemplate
busyIndicator.BusyContentTemplate = value

Vorlage zum Rendern von BusyContent.

IsBusy
public bool IsBusy { get; set; }
value = busyIndicator.IsBusy
busyIndicator.IsBusy = value

Gibt einen Wert an, der angibt, ob das Besetzte Overlay angezeigt wird.

IsContentVisible
protected bool IsContentVisible { get; set; }
value = busyIndicator.IsContentVisible
busyIndicator.IsContentVisible = value

Gibt einen Wert an, der angibt, ob der belegte Inhalt sichtbar sein soll.

OverlayStyle
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

ChangeVisualState
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.
OnApplyTemplate
public override void OnApplyTemplate()
busyIndicator.OnApplyTemplate()

Erstellt den visuellen Baum für das LayoutTransformer @ Steuerelement, wenn eine neue Vorlage angewendet wird.

OnIsBusyChanged
protected virtual void OnIsBusyChanged(DependencyPropertyChangedEventArgs e)
busyIndicator.OnIsBusyChanged(e)

Wird aufgerufen, wenn sich der IsBusy Eigenschaftswert ändert.

Felder

BusyContentProperty
public static readonly DependencyProperty BusyContentProperty
value = BusyIndicator.BusyContentProperty

Inhalt wird angezeigt, während das Steuerelement beschäftigt ist.

BusyContentTemplateProperty
public static readonly DependencyProperty BusyContentTemplateProperty
value = BusyIndicator.BusyContentTemplateProperty

Vorlage zum Rendern von BusyContent.

IsBusyProperty
public static readonly DependencyProperty IsBusyProperty
value = BusyIndicator.IsBusyProperty

Identifiziert die Abhängigkeitseigenschaft IsBusy.

OverlayStyleProperty
public static readonly DependencyProperty OverlayStyleProperty
value = BusyIndicator.OverlayStyleProperty

Identifiziert die Abhängigkeitseigenschaft OverlayStyle.