Table of Contents

Class AbstractUnboundSplitButtonAdvControlBindingModel<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.SplitButtonAdv control.

public abstract class AbstractUnboundSplitButtonAdvControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundDropDownButtonAdvControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : SplitButtonAdv

Type Parameters

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

Constructors

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

protected AbstractUnboundSplitButtonAdvControlBindingModel(Expression<Func<TView, TControl>> viewExpression)

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

BindCommand

Gets or sets the command binding logic for Syncfusion.Windows.Tools.Controls.SplitButtonAdv

public ICommandBinding<TViewModel>? BindCommand { get; init; }

Property Value

ICommandBinding<TViewModel>

Command

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.SplitButtonAdv.Command

public IOneOrTwoWayBind<TViewModel, ICommand>? Command { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, ICommand>

CommandParameter

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.SplitButtonAdv.CommandParameter

public IOneOrTwoWayBind<TViewModel, object>? CommandParameter { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, object>

CommandTarget

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.SplitButtonAdv.CommandTarget

public IOneOrTwoWayBind<TViewModel, IInputElement>? CommandTarget { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, IInputElement>

IsDefault

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.SplitButtonAdv.IsDefault

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsDropDownPressed

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.SplitButtonAdv.IsDropDownPressed

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

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.