Table of Contents

Class AbstractUnboundToolBarAdvControlBindingModel<TView, TViewModel, TControl>

Namespace
Whipstaff.Wpf.ViewToViewModelBindings.Syncfusion.Windows.Tools.Controls
Assembly
Whipstaff.Wpf.Syncfusion.SfDiagram.dll

A class that contains Viewmodel bindings for the Syncfusion.Windows.Tools.Controls.ToolBarAdv control.

public abstract class AbstractUnboundToolBarAdvControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundItemsControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : ToolBarAdv

Type Parameters

TView
TViewModel
TControl
Inheritance
AbstractControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>
AbstractUnboundToolBarAdvControlBindingModel<TView, TViewModel, TControl>
Implements
IControlBindingModel<TView, TViewModel>
Derived
Inherited Members

Constructors

AbstractUnboundToolBarAdvControlBindingModel(Expression<Func<TView, TControl>>)

protected AbstractUnboundToolBarAdvControlBindingModel(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 Syncfusion.Windows.Tools.Controls.ToolBarAdv.Band

public IOneOrTwoWayBind<TViewModel, int>? Band { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, int>

BandIndex

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarAdv.BandIndex

public IOneOrTwoWayBind<TViewModel, int>? BandIndex { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, int>

ControlsResourceDictionary

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarAdv.ControlsResourceDictionary

public IOneOrTwoWayBind<TViewModel, ResourceDictionary>? ControlsResourceDictionary { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, ResourceDictionary>

EnableAddRemoveButton

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarAdv.EnableAddRemoveButton

public IOneOrTwoWayBind<TViewModel, bool>? EnableAddRemoveButton { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, bool>

FloatingBarLocation

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarAdv.FloatingBarLocation

public IOneOrTwoWayBind<TViewModel, Point> FloatingBarLocation { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Point>

GripperVisibility

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarAdv.GripperVisibility

public IOneOrTwoWayBind<TViewModel, Visibility>? GripperVisibility { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

HasOverflowItems

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarAdv.HasOverflowItems

public IOneWayBind<TViewModel, bool>? HasOverflowItems { get; init; }

Property Value

IOneWayBind<TViewModel, bool>

IsOverflowOpen

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarAdv.IsOverflowOpen

public IOneOrTwoWayBind<TViewModel, bool>? IsOverflowOpen { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, bool>

Orientation

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarAdv.Orientation

public IOneWayBind<TViewModel, Orientation>? Orientation { get; init; }

Property Value

IOneWayBind<TViewModel, Orientation>

OverflowButtonVisibility

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarAdv.OverflowButtonVisibility

public IOneOrTwoWayBind<TViewModel, Visibility>? OverflowButtonVisibility { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

ToolBarItemInfoCollection

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarAdv.ToolBarItemInfoCollection

public IOneOrTwoWayBind<TViewModel, ObservableCollection<ToolBarIteminfo>>? ToolBarItemInfoCollection { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, ObservableCollection<ToolBarIteminfo>>

ToolBarName

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ToolBarAdv.ToolBarName

public IOneOrTwoWayBind<TViewModel, string>? ToolBarName { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, string>

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 TView

The view.

viewModel TViewModel

The 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 TView

The view.

viewModel TViewModel

The viewmodel.

compositeDisposable CompositeDisposable

The disposable container to register disposals against.