BusyIndicator

Ecng.Xaml

コンテンツの上部に多忙なオーバーレイを表示し、IsBusyフラグに基づいて視覚状態を切り替えます。

継承元: ContentControl

プロパティ

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

コントロールが忙しくなっている間表示されている内容。

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

テンプレートはBusyContentをレンダリングします。

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

忙しいオーバーレイが表示されているかどうかを示す値を取得またはセットします。

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

忙しいコンテンツが見えるかどうかを示す値を取得またはセットします。

OverlayStyle
public Style OverlayStyle { get; set; }
value = busyIndicator.OverlayStyle
busyIndicator.OverlayStyle = value

コンテンツのカバーをしたり、コンテンツを忙しにしたり、スタイルをオーバーレイ要素にしたり、設定したりできます。

メソッド

ChangeVisualState
protected virtual void ChangeVisualState(bool useTransitions)
busyIndicator.ChangeVisualState(useTransitions)

制御の視覚状態を切り替えてIsBusyとIsContentVisibleの現在の値を反映します。

useTransitions
ビジュアルトランジションを使用するには、そうしないとfalseです。
OnApplyTemplate
public override void OnApplyTemplate()
busyIndicator.OnApplyTemplate()

テンプレートの新規適用時にLayoutTransformer制御用のビジュアルツリーを作成します。

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

IsBusy プロパティ値が変更されたときに呼び出されます。

フィールド

BusyContentProperty
public static readonly DependencyProperty BusyContentProperty
value = BusyIndicator.BusyContentProperty

コントロールが忙しくなっている間表示されている内容。

BusyContentTemplateProperty
public static readonly DependencyProperty BusyContentTemplateProperty
value = BusyIndicator.BusyContentTemplateProperty

テンプレートはBusyContentをレンダリングします。

IsBusyProperty
public static readonly DependencyProperty IsBusyProperty
value = BusyIndicator.IsBusyProperty

IsBusy依存性プロパティを識別します。

OverlayStyleProperty
public static readonly DependencyProperty OverlayStyleProperty
value = BusyIndicator.OverlayStyleProperty

OverlayStyle依存性プロパティを識別します。