The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

FollowObservableStateBehavior Class

Summary

Behavior that tracks the state of an observable.
Namespace
ReactiveUI.Blend
Interfaces
  • IBehavior
Base Types
  • DependencyObject
  • Behavior<FrameworkElement>
graph BT Type-->Base0["Behavior<FrameworkElement>"] Base0-->Base1["DependencyObject"] Type-.->Interface0["IBehavior"] Type["FollowObservableStateBehavior"] class Type type-node

Syntax

public class FollowObservableStateBehavior : Behavior<FrameworkElement>, IBehavior

Fields

Name Constant Value Summary
StateObservableProperty
The state observable dependency property.
static
TargetObjectProperty
The target object dependency property.
static

Properties

Name Value Summary
AutoResubscribeOnError bool
Gets or sets a value indicating whether [automatic resubscribe on error].
StateObservable IObservable<string>
Gets or sets the state observable.
TargetObject FrameworkElement
Gets or sets the target object.

Methods

Name Value Summary
OnDetaching() void
Called when [detaching].
OnStateObservableChanged(DependencyObject?, DependencyPropertyChangedEventArgs) void
Called when [state observable changed].
static

Extension Methods

Name Value Summary
BindCommand<FollowObservableStateBehavior, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<FollowObservableStateBehavior, TControl>>, Expression<Func<TViewModel, TParam?>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<FollowObservableStateBehavior, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<FollowObservableStateBehavior, TControl>>, IObservable<TParam?>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<FollowObservableStateBehavior, TViewModel, TProp, TControl>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<FollowObservableStateBehavior, TControl>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindValidation<FollowObservableStateBehavior, TViewModel, TViewModelProperty, TViewProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, Expression<Func<FollowObservableStateBehavior, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the specified ViewModel property validation to the View property.
BindValidation<FollowObservableStateBehavior, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<FollowObservableStateBehavior, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<FollowObservableStateBehavior, TViewModel, TViewProperty>(TViewModel?, Expression<Func<FollowObservableStateBehavior, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the overall validation of a ViewModel to a specified View property.
BindValidation<FollowObservableStateBehavior, TViewModel, TViewProperty>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, Expression<Func<FollowObservableStateBehavior, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds a ValidationHelper from a ViewModel to a specified View property.
BindValidation<FollowObservableStateBehavior, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<FollowObservableStateBehavior, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<FollowObservableStateBehavior, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<FollowObservableStateBehavior, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.
WhenAnyObservable<FollowObservableStateBehavior, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Expression<Func<FollowObservableStateBehavior, IObservable<T1>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T2>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T3>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T4>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T5>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T6>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T7>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T8>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T9>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T10>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T11>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T12>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Expression<Func<FollowObservableStateBehavior, IObservable<T1>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T2>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T3>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T4>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T5>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T6>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T7>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T8>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T9>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T10>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T11>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Expression<Func<FollowObservableStateBehavior, IObservable<T1>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T2>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T3>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T4>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T5>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T6>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T7>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T8>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T9>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T10>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Expression<Func<FollowObservableStateBehavior, IObservable<T1>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T2>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T3>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T4>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T5>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T6>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T7>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T8>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T9>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet, T1, T2, T3, T4, T5, T6, T7, T8>(Expression<Func<FollowObservableStateBehavior, IObservable<T1>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T2>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T3>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T4>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T5>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T6>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T7>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T8>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet, T1, T2, T3, T4, T5, T6, T7>(Expression<Func<FollowObservableStateBehavior, IObservable<T1>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T2>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T3>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T4>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T5>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T6>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T7>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet, T1, T2, T3, T4, T5, T6>(Expression<Func<FollowObservableStateBehavior, IObservable<T1>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T2>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T3>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T4>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T5>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T6>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet, T1, T2, T3, T4, T5>(Expression<Func<FollowObservableStateBehavior, IObservable<T1>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T2>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T3>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T4>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T5>?>>, Func<T1?, T2?, T3?, T4?, T5?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet, T1, T2, T3, T4>(Expression<Func<FollowObservableStateBehavior, IObservable<T1>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T2>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T3>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T4>?>>, Func<T1?, T2?, T3?, T4?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet, T1, T2, T3>(Expression<Func<FollowObservableStateBehavior, IObservable<T1>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T2>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T3>?>>, Func<T1?, T2?, T3?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet, T1, T2>(Expression<Func<FollowObservableStateBehavior, IObservable<T1>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<T2>?>>, Func<T1?, T2?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet>(Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>) IObservable<TRet>
Observe a observable which is set to a property, and automatically subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet>(Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet>(Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet>(Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet>(Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet>(Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet>(Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet>(Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet>(Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet>(Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet>(Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<FollowObservableStateBehavior, TRet>(Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>, Expression<Func<FollowObservableStateBehavior, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
With<FollowObservableStateBehavior, TKey, TField>(Dictionary<TKey, TField>, IDictionary<TKey, TField>) TBuilder
Adds the specified dictionary to the provided dictionary.