Class AbstractUnboundMagnifierControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Wpf.Syncfusion.SfDiagram.dll
A class that contains Viewmodel bindings for the Syncfusion.Windows.Shared.Magnifier control.
public abstract class AbstractUnboundMagnifierControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : Magnifier
Type Parameters
TView
TViewModel
TControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundMagnifierControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundMagnifierControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundMagnifierControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundMagnifierControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
EnableExport
Gets or sets the binding logic for Syncfusion.Windows.Shared.Magnifier.EnableExport
public IOneOrTwoWayBind<TViewModel, bool>? EnableExport { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
FrameBackground
Gets or sets the binding logic for Syncfusion.Windows.Shared.Magnifier.FrameBackground
public IOneOrTwoWayBind<TViewModel, Brush>? FrameBackground { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Brush>
FrameCornerRadius
Gets or sets the binding logic for Syncfusion.Windows.Shared.Magnifier.FrameCornerRadius
public IOneOrTwoWayBind<TViewModel, double>? FrameCornerRadius { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
FrameHeight
Gets or sets the binding logic for Syncfusion.Windows.Shared.Magnifier.FrameHeight
public IOneOrTwoWayBind<TViewModel, double>? FrameHeight { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
FrameRadius
Gets or sets the binding logic for Syncfusion.Windows.Shared.Magnifier.FrameRadius
public IOneOrTwoWayBind<TViewModel, double>? FrameRadius { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
FrameType
Gets or sets the binding logic for Syncfusion.Windows.Shared.Magnifier.FrameType
public IOneOrTwoWayBind<TViewModel, FrameType>? FrameType { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, FrameType>
FrameWidth
Gets or sets the binding logic for Syncfusion.Windows.Shared.Magnifier.FrameWidth
public IOneOrTwoWayBind<TViewModel, double>? FrameWidth { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
TargetElement
Gets or sets the binding logic for Syncfusion.Windows.Shared.Magnifier.TargetElement
public IOneOrTwoWayBind<TViewModel, UIElement>? TargetElement { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, UIElement>
ZoomFactor
Gets or sets the binding logic for Syncfusion.Windows.Shared.Magnifier.ZoomFactor
public IOneOrTwoWayBind<TViewModel, double>? ZoomFactor { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
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
TViewThe view.
viewModel
TViewModelThe 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
TViewThe view.
viewModel
TViewModelThe viewmodel.
compositeDisposable
CompositeDisposableThe disposable container to register disposals against.