Class AbstractUnboundToolBarControlBindingModel<TView, TViewModel, TControl>
A class that contains Viewmodel bindings for the ToolBar control.
public abstract class AbstractUnboundToolBarControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundHeaderedItemsControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : ToolBar
Type Parameters
TView
TViewModel
TControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundItemsControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundHeaderedItemsControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundToolBarControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundToolBarControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundToolBarControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundToolBarControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
Band
Gets or sets the binding logic for Band
public IOneOrTwoWayBind<TViewModel, int>? Band { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
BandIndex
Gets or sets the binding logic for BandIndex
public IOneOrTwoWayBind<TViewModel, int>? BandIndex { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
ButtonStyleKey
Gets or sets the binding logic for ButtonStyleKey
public IOneWayBind<TViewModel, ResourceKey>? ButtonStyleKey { get; init; }
Property Value
- IOneWayBind<TViewModel, ResourceKey>
CheckBoxStyleKey
Gets or sets the binding logic for CheckBoxStyleKey
public IOneWayBind<TViewModel, ResourceKey>? CheckBoxStyleKey { get; init; }
Property Value
- IOneWayBind<TViewModel, ResourceKey>
ComboBoxStyleKey
Gets or sets the binding logic for ComboBoxStyleKey
public IOneWayBind<TViewModel, ResourceKey>? ComboBoxStyleKey { get; init; }
Property Value
- IOneWayBind<TViewModel, ResourceKey>
HasOverflowItems
Gets or sets the binding logic for HasOverflowItems
public IOneWayBind<TViewModel, bool>? HasOverflowItems { get; init; }
Property Value
- IOneWayBind<TViewModel, bool>
IsOverflowOpen
Gets or sets the binding logic for IsOverflowOpen
public IOneOrTwoWayBind<TViewModel, bool>? IsOverflowOpen { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
MenuStyleKey
Gets or sets the binding logic for MenuStyleKey
public IOneWayBind<TViewModel, ResourceKey>? MenuStyleKey { get; init; }
Property Value
- IOneWayBind<TViewModel, ResourceKey>
Orientation
Gets or sets the binding logic for Orientation
public IOneWayBind<TViewModel, Orientation>? Orientation { get; init; }
Property Value
- IOneWayBind<TViewModel, Orientation>
RadioButtonStyleKey
Gets or sets the binding logic for RadioButtonStyleKey
public IOneWayBind<TViewModel, ResourceKey>? RadioButtonStyleKey { get; init; }
Property Value
- IOneWayBind<TViewModel, ResourceKey>
SeparatorStyleKey
Gets or sets the binding logic for SeparatorStyleKey
public IOneWayBind<TViewModel, ResourceKey>? SeparatorStyleKey { get; init; }
Property Value
- IOneWayBind<TViewModel, ResourceKey>
TextBoxStyleKey
Gets or sets the binding logic for TextBoxStyleKey
public IOneWayBind<TViewModel, ResourceKey>? TextBoxStyleKey { get; init; }
Property Value
- IOneWayBind<TViewModel, ResourceKey>
ToggleButtonStyleKey
Gets or sets the binding logic for ToggleButtonStyleKey
public IOneWayBind<TViewModel, ResourceKey>? ToggleButtonStyleKey { get; init; }
Property Value
- IOneWayBind<TViewModel, ResourceKey>
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.