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

TransitioningContentControl Class

Summary

A ContentControl that animates the transition when its content is changed. A control with a single transition.
Namespace
ReactiveUI
Interfaces
  • ContentControl
Base Types
  • ContentControl
graph BT Type-->Base0["ContentControl"] Type-.->Interface0["ContentControl"] Type["TransitioningContentControl"] class Type type-node

Syntax

[TemplatePart(Name = "PART_Container", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "PART_PreviousImageSite", Type = typeof(Image))]
[TemplatePart(Name = "PART_CurrentContentPresentationSite", Type = typeof(ContentPresenter))]
[TemplateVisualState(Name = NormalState, GroupName = PresentationGroup)]
[SuppressMessage("Design", "CA1010:Collections should implement generic interface", Justification = "Deliberate usage")]
public class TransitioningContentControl : ContentControl, ContentControl

Attributes

Type Description
TemplatePart
TemplatePart
TemplatePart
TemplateVisualState
SuppressMessageAttribute

Constructors

Name Summary
TransitioningContentControl() Initializes a new instance of the TransitioningContentControl class.

Events

Name Type Summary
TransitionCompleted RoutedEventHandler?
Occurs when a transition has completed.
TransitionStarted RoutedEventHandler?
Occurs when a transition has started.

Fields

Name Constant Value Summary
TransitionDirectionProperty
DependencyProperty for the Transition property.
static
TransitionDurationProperty
DependencyProperty for the Transition property.
static
TransitionProperty
DependencyProperty for the Transition property.
static

Properties

Name Value Summary
Direction TransitioningContentControl.TransitionDirection
Gets or sets the transition direction.
Duration TimeSpan
Gets or sets the transition duration.
Transition TransitioningContentControl.TransitionType
Gets or sets the transition.

Methods

Name Value Summary
OnApplyTemplate() void
OnContentChanged(object, object) void
Called when the value of the ContentControl.Content property changes.

Extension Methods

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