Table of Contents

Class AbstractUnboundButtonAdvControlBindingModel<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.ButtonAdv control.

public abstract class AbstractUnboundButtonAdvControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundButtonBaseControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : ButtonAdv

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

CornerRadius

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ButtonAdv.CornerRadius

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

Property Value

IOneOrTwoWayBind<TViewModel, CornerRadius>

IconHeight

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

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

IconStretch

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ButtonAdv.IconStretch

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

Property Value

IOneOrTwoWayBind<TViewModel, Stretch>

IconTemplate

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

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

IsCancel

Gets or sets the binding logic for Syncfusion.Windows.Tools.Controls.ButtonAdv.IsCancel

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsCheckable

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

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsDefault

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

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

IsMultiLine

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

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

Property Value

IOneOrTwoWayBind<TViewModel, bool>

Label

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

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

Property Value

IOneOrTwoWayBind<TViewModel, ImageSource>

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.