Table of Contents

Class AbstractUnboundDiagramThumbControlBindingModel<TView, TViewModel, TControl>

Namespace
Whipstaff.Wpf.ViewToViewModelBindings.Syncfusion.UI.Xaml.Diagram.Controls
Assembly
Whipstaff.Wpf.Syncfusion.SfDiagram.dll

A class that contains Viewmodel bindings for the Syncfusion.UI.Xaml.Diagram.Controls.DiagramThumb control.

public abstract class AbstractUnboundDiagramThumbControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : DiagramThumb

Type Parameters

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

Constructors

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

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

Parameters

viewExpression Expression<Func<TView, TControl>>

expression representing the control on the view to bind to.

Properties

Command

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.DiagramThumb.Command

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

Property Value

IOneOrTwoWayBind<TViewModel, ICommand>

ControlPointType

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.DiagramThumb.ControlPointType

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

Property Value

IOneOrTwoWayBind<TViewModel, ControlPointType>

DragCommand

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.DiagramThumb.DragCommand

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

Property Value

IOneOrTwoWayBind<TViewModel, ICommand>

OffsetX

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.DiagramThumb.OffsetX

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

OffsetY

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.DiagramThumb.OffsetY

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

Property Value

IOneOrTwoWayBind<TViewModel, double>

Shape

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.DiagramThumb.Shape

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

Property Value

IOneOrTwoWayBind<TViewModel, object>

ShapeStyle

Gets or sets the binding logic for Syncfusion.UI.Xaml.Diagram.Controls.DiagramThumb.ShapeStyle

public IOneOrTwoWayBind<TViewModel, Style>? ShapeStyle { 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.