Table of Contents

Class UIElementControlBindingModel<TView, TViewModel>

Namespace
Whipstaff.Wpf.ViewToViewModelBindings.System.Windows
Assembly
Whipstaff.Wpf.dll

A class that contains Viewmodel bindings for the UIElement control.

public class UIElementControlBindingModel<TView, TViewModel> : AbstractUnboundUIElementControlBindingModel<TView, TViewModel, UIElement>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject

Type Parameters

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

Constructors

UIElementControlBindingModel(Expression<Func<TView, UIElement>>)

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

public UIElementControlBindingModel(Expression<Func<TView, UIElement>> viewExpression)

Parameters

viewExpression Expression<Func<TView, UIElement>>

expression representing the control on the view to bind to.