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. |
Return Value
Section titled “Return Value”The progress indicator for chaining.
Sets: ProgressIndicator.IsActive
See Also
Section titled “See Also”- class ProgressIndicator
- class ObservableValue<T>
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
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. |
Return Value
Section titled “Return Value”The progress indicator for chaining.
See Also
Section titled “See Also”- class ProgressIndicator
- class ObservableValue<T>
- class ControlExtensions
- namespace Aprillz.MewUI.Controls