Class AbstractUnboundDropGestureRecognizerControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Maui.dll
A class that contains Viewmodel bindings for the DropGestureRecognizer control.
public abstract class AbstractUnboundDropGestureRecognizerControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundGestureRecognizerControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : DropGestureRecognizer
Type Parameters
TViewTViewModelTControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundGestureRecognizerControlBindingModel<TView, TViewModel, TControl>AbstractUnboundDropGestureRecognizerControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundDropGestureRecognizerControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundDropGestureRecognizerControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundDropGestureRecognizerControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpressionExpression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
AllowDrop
Gets or sets the binding logic for AllowDrop
public IOneOrTwoWayBind<TViewModel, bool>? AllowDrop { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
DragLeaveCommand
Gets or sets the binding logic for DragLeaveCommand
public IOneOrTwoWayBind<TViewModel, ICommand>? DragLeaveCommand { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ICommand>
DragLeaveCommandParameter
Gets or sets the binding logic for DragLeaveCommandParameter
public IOneOrTwoWayBind<TViewModel, object>? DragLeaveCommandParameter { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, object>
DragOverCommand
Gets or sets the binding logic for DragOverCommand
public IOneOrTwoWayBind<TViewModel, ICommand>? DragOverCommand { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ICommand>
DragOverCommandParameter
Gets or sets the binding logic for DragOverCommandParameter
public IOneOrTwoWayBind<TViewModel, object>? DragOverCommandParameter { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, object>
DropCommand
Gets or sets the binding logic for DropCommand
public IOneOrTwoWayBind<TViewModel, ICommand>? DropCommand { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, ICommand>
DropCommandParameter
Gets or sets the binding logic for DropCommandParameter
public IOneOrTwoWayBind<TViewModel, object>? DropCommandParameter { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, object>
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.