Class AbstractUnboundDiagramThumbControlBindingModel<TView, TViewModel, TControl>
- 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
TViewTViewModelTControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundDiagramThumbControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundDiagramThumbControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundDiagramThumbControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundDiagramThumbControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpressionExpression<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
viewTViewThe view.
viewModelTViewModelThe viewmodel.
registerForDisposalActionAction<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
viewTViewThe view.
viewModelTViewModelThe viewmodel.
compositeDisposableCompositeDisposableThe disposable container to register disposals against.