Table of Contents

Class AbstractUnboundMenuItemAdvControlBindingModel<TView, TViewModel, TControl>

Namespace
Whipstaff.Wpf.ViewToViewModelBindings.Syncfusion.Windows.Shared
Assembly
Whipstaff.Wpf.Syncfusion.SfDiagram.dll

A class that contains Viewmodel bindings for the Syncfusion.Windows.Shared.MenuItemAdv control.

public abstract class AbstractUnboundMenuItemAdvControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundHeaderedItemsControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : MenuItemAdv

Type Parameters

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

Constructors

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

protected AbstractUnboundMenuItemAdvControlBindingModel(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.Shared.MenuItemAdv

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

Property Value

ICommandBinding<TViewModel>

BottomScrollButtonStyle

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.BottomScrollButtonStyle

public IOneOrTwoWayBind<TViewModel, Style>? BottomScrollButtonStyle { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Style>

CheckBoxStyle

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.CheckBoxStyle

public IOneOrTwoWayBind<TViewModel, Style>? CheckBoxStyle { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Style>

CheckBoxVisibility

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.CheckBoxVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

CheckIconType

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.CheckIconType

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

Property Value

IOneOrTwoWayBind<TViewModel, CheckIconType>

Command

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.Command

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

Property Value

IOneOrTwoWayBind<TViewModel, ICommand>

CommandParameter

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.CommandParameter

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

CommandTarget

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.CommandTarget

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

Property Value

IOneOrTwoWayBind<TViewModel, IInputElement>

ExtendButtonVisibility

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.ExtendButtonVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

GroupName

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.GroupName

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

Icon

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.Icon

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

InputGestureText

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.InputGestureText

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

IsCheckable

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.IsCheckable

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsChecked

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.IsChecked

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsPressed

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.IsPressed

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsSubMenuOpen

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.IsSubMenuOpen

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

RadioButtonStyle

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.RadioButtonStyle

public IOneOrTwoWayBind<TViewModel, Style>? RadioButtonStyle { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Style>

RadioButtonVisibility

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.RadioButtonVisibility

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

Property Value

IOneOrTwoWayBind<TViewModel, Visibility>

Role

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.Role

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

Property Value

IOneWayBind<TViewModel, Role>

ScrollerHeight

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.ScrollerHeight

public IOneOrTwoWayBind<TViewModel, double>? ScrollerHeight { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, double>

StaysOpenOnClick

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.StaysOpenOnClick

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

TopScrollButtonStyle

Gets or sets the binding logic for Syncfusion.Windows.Shared.MenuItemAdv.TopScrollButtonStyle

public IOneOrTwoWayBind<TViewModel, Style>? TopScrollButtonStyle { get; init; }

Property Value

IOneOrTwoWayBind<TViewModel, Style>

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.