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

ViewForExtensions Class

Summary

Android specific extensions methods associated to IViewFor instances. Extensions methods associated to IViewFor instances.
Namespace
ReactiveUI.Validation.Extensions
Base Types
  • object
graph BT Type-->Base0["object"] Type["ViewForExtensions"] class Type type-node

Syntax

[SuppressMessage("Roslynator", "RCS1163", Justification = "Needed for Expression context.")]
[SuppressMessage("Roslynator", "RCS1163", Justification = "Needed for Expression context.")]
[SuppressMessage("Roslynator", "RCS1163", Justification = "Needed for Expression context.")]
public static class ViewForExtensions

Attributes

Type Description
SuppressMessageAttribute
SuppressMessageAttribute
SuppressMessageAttribute

Methods

Name Value Summary
BindToDirect<TTarget, TValue>(IObservable<TValue>, TTarget, Expression) IDisposable
Creates a binding to a View property.
static
BindValidation<TView, TViewModel, TViewModelProperty, TViewProperty>(TView, TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, Expression<Func<TView, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the specified ViewModel property validation to the View property.
static
BindValidation<TView, TViewModel, TViewModelProperty>(TView, TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
static
BindValidation<TView, TViewModel, TViewModelProperty>(TView, TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
static
BindValidation<TView, TViewModel, TViewProperty>(TView, TViewModel?, Expression<Func<TView, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the overall validation of a ViewModel to a specified View property.
static
BindValidation<TView, TViewModel, TViewProperty>(TView, TViewModel?, Expression<Func<TViewModel?, ValidationHelper>>, Expression<Func<TView, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds a ValidationHelper from a ViewModel to a specified View property.
static
BindValidation<TView, TViewModel>(TView, TViewModel?, Expression<Func<TViewModel?, ValidationHelper>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
static
BindValidation<TView, TViewModel>(TView, TViewModel?, Expression<Func<TViewModel?, ValidationHelper>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
static
BindValidationEx<TView, TViewModel, TViewModelProperty, TViewProperty>(TView, TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, Expression<Func<TView, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the specified ViewModel property validation to the View property.
static
BindValidationEx<TView, TViewModel, TViewModelProperty>(TView, TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
static
BindValidationEx<TView, TViewModel, TViewModelProperty>(TView, TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
static

Extension Methods

Name Value Summary
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.