Skip to content

ControlExtensions.BindIsActive method (1 of 2)

Binds the active state to an observable value.

public static ProgressIndicator BindIsActive(this ProgressIndicator progressIndicator,
ObservableValue<bool> source)
parameter description
progressIndicator Target progress indicator.
source Observable source.

The progress indicator for chaining.

Sets: ProgressIndicator.IsActive


ControlExtensions.BindIsActive<TSource> method (2 of 2)

Section titled “ControlExtensions.BindIsActive<TSource> method (2 of 2)”

Binds the active state to a converted observable value.

public static ProgressIndicator BindIsActive<TSource>(this ProgressIndicator progressIndicator,
ObservableValue<TSource> source, Func<TSource, bool> convert)
parameter description
TSource Source value type.
progressIndicator Target progress indicator.
source Observable source.
convert Source-to-active-state converter.

The progress indicator for chaining.