Table of Contents

Class AbstractUnboundDropDownMenuItemControlBindingModel<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.DropDownMenuItem control.

public abstract class AbstractUnboundDropDownMenuItemControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundHeaderedItemsControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : DropDownMenuItem

Type Parameters

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

Constructors

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

protected AbstractUnboundDropDownMenuItemControlBindingModel(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.DropDownMenuItem

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

Property Value

ICommandBinding<TViewModel>

Command

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownMenuItem.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.DropDownMenuItem.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.DropDownMenuItem.CommandTarget

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

Property Value

IOneOrTwoWayBind<TViewModel, IInputElement>

HasItems

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownMenuItem.HasItems

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

Property Value

IOneWayBind<TViewModel, bool>

Icon

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownMenuItem.Icon

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

IconSize

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownMenuItem.IconSize

public IOneOrTwoWayBind<TViewModel, Size> IconSize { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Size>

IsCheckable

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownMenuItem.IsCheckable

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsChecked

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownMenuItem.IsChecked

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsPressed

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownMenuItem.IsPressed

public IOneOrTwoWayBind<TViewModel, bool>? IsPressed { 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.