Table of Contents

Class AbstractUnboundDropDownButtonAdvControlBindingModel<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.DropDownButtonAdv control.

public abstract class AbstractUnboundDropDownButtonAdvControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundContentControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : DropDownButtonAdv

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

DropDirection

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownButtonAdv.DropDirection

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

Property Value

IOneOrTwoWayBind<TViewModel, DropDirection>

IconHeight

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownButtonAdv.IconHeight

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

IconTemplate

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownButtonAdv.IconTemplate

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

Property Value

IOneOrTwoWayBind<TViewModel, DataTemplate>

IconTemplateSelector

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownButtonAdv.IconTemplateSelector

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

Property Value

IOneOrTwoWayBind<TViewModel, DataTemplateSelector>

IconWidth

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownButtonAdv.IconWidth

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

IsDropDownOpen

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownButtonAdv.IsDropDownOpen

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsMultiLine

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownButtonAdv.IsMultiLine

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsPressed

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

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

Label

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownButtonAdv.Label

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

Property Value

IOneOrTwoWayBind<TViewModel, string>

LargeIcon

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownButtonAdv.LargeIcon

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

Property Value

IOneOrTwoWayBind<TViewModel, ImageSource>

SizeMode

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownButtonAdv.SizeMode

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

Property Value

IOneOrTwoWayBind<TViewModel, SizeMode>

SmallIcon

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownButtonAdv.SmallIcon

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

Property Value

IOneOrTwoWayBind<TViewModel, ImageSource>

StayDropDownOnClick

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownButtonAdv.StayDropDownOnClick

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

StaysOpen

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.DropDownButtonAdv.StaysOpen

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