Class AbstractUnboundPanelControlBindingModel<TView, TViewModel, TControl>
A class that contains Viewmodel bindings for the Panel control.
public abstract class AbstractUnboundPanelControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : Panel
Type Parameters
TView
TViewModel
TControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundPanelControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundPanelControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundPanelControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundPanelControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
Background
Gets or sets the binding logic for Background
public IOneOrTwoWayBind<TViewModel, Brush>? Background { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
Children
Gets or sets the binding logic for Children
public IOneWayBind<TViewModel, UIElementCollection>? Children { get; init; }
Property Value
- IOneWayBind<TViewModel, UIElementCollection>
HasLogicalOrientationPublic
Gets or sets the binding logic for HasLogicalOrientationPublic
public IOneWayBind<TViewModel, bool>? HasLogicalOrientationPublic { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
IsItemsHost
Gets or sets the binding logic for IsItemsHost
public IOneOrTwoWayBind<TViewModel, bool>? IsItemsHost { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
LogicalOrientationPublic
Gets or sets the binding logic for LogicalOrientationPublic
public IOneWayBind<TViewModel, Orientation>? LogicalOrientationPublic { get; init; }
Property Value
- IOneWayBind<TViewModel, Orientation>
Methods
ApplyBindings(TView, TViewModel, Action<IDisposable>)
Applies the binding between the view and the view model.
public override void ApplyBindings(TView view, TViewModel viewModel, Action<IDisposable> registerForDisposalAction)
Parameters
view
TViewThe view.
viewModel
TViewModelThe viewmodel.
registerForDisposalAction
Action<IDisposable>
ApplyBindings(TView, TViewModel, CompositeDisposable)
Applies the binding between the view and the view model.
public override void ApplyBindings(TView view, TViewModel viewModel, CompositeDisposable compositeDisposable)
Parameters
view
TViewThe view.
viewModel
TViewModelThe viewmodel.
compositeDisposable
CompositeDisposableThe disposable container to register disposals against.