Table of Contents

Class ElementControlBindingModel<TView, TViewModel>

Namespace
Whipstaff.Maui.Maui.ViewToViewModelBindings.Microsoft.Maui.Controls
Assembly
Whipstaff.Maui.dll

A class that contains Viewmodel bindings for the Element control.

public class ElementControlBindingModel<TView, TViewModel> : AbstractUnboundElementControlBindingModel<TView, TViewModel, Element>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject

Type Parameters

TView
TViewModel
Inheritance
ElementControlBindingModel<TView, TViewModel>
Implements
IControlBindingModel<TView, TViewModel>
Inherited Members

Constructors

ElementControlBindingModel(Expression<Func<TView, Element>>)

Initializes a new instance of the ElementControlBindingModel<TView, TViewModel> class.

public ElementControlBindingModel(Expression<Func<TView, Element>> viewExpression)

Parameters

viewExpression Expression<Func<TView, Element>>

expression representing the control on the view to bind to.