Class AbstractUnboundToolBarManagerControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Wpf.Syncfusion.SfDiagram.dll
A class that contains Viewmodel bindings for the Syncfusion.Windows.Tools.Controls.ToolBarManager control.
public abstract class AbstractUnboundToolBarManagerControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : ToolBarManager
Type Parameters
TView
TViewModel
TControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundToolBarManagerControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundToolBarManagerControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundToolBarManagerControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundToolBarManagerControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
BottomToolBarTray
Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarManager.BottomToolBarTray
public IOneOrTwoWayBind<TViewModel, ToolBarTrayAdv>? BottomToolBarTray { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ToolBarTrayAdv>
CanDockAtBottom
Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarManager.CanDockAtBottom
public IOneOrTwoWayBind<TViewModel, bool>? CanDockAtBottom { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
CanDockAtLeft
Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarManager.CanDockAtLeft
public IOneOrTwoWayBind<TViewModel, bool>? CanDockAtLeft { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
CanDockAtRight
Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarManager.CanDockAtRight
public IOneOrTwoWayBind<TViewModel, bool>? CanDockAtRight { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
CanDockAtTop
Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarManager.CanDockAtTop
public IOneOrTwoWayBind<TViewModel, bool>? CanDockAtTop { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
Content
Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarManager.Content
public IOneOrTwoWayBind<TViewModel, UIElement>? Content { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, UIElement>
FloatingToolBarStyle
Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarManager.FloatingToolBarStyle
public IOneOrTwoWayBind<TViewModel, Style>? FloatingToolBarStyle { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Style>
LeftToolBarTray
Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarManager.LeftToolBarTray
public IOneOrTwoWayBind<TViewModel, ToolBarTrayAdv>? LeftToolBarTray { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ToolBarTrayAdv>
RightToolBarTray
Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarManager.RightToolBarTray
public IOneOrTwoWayBind<TViewModel, ToolBarTrayAdv>? RightToolBarTray { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ToolBarTrayAdv>
TopToolBarTray
Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarManager.TopToolBarTray
public IOneOrTwoWayBind<TViewModel, ToolBarTrayAdv>? TopToolBarTray { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ToolBarTrayAdv>
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.