Class AbstractUnboundCarouselControlBindingModel<TView, TViewModel, TControl>
- Assembly
- Whipstaff.Wpf.Syncfusion.SfDiagram.dll
A class that contains Viewmodel bindings for the Syncfusion.Windows.Shared.Carousel control.
public abstract class AbstractUnboundCarouselControlBindingModel<TView, TViewModel, TControl> : AbstractUnboundItemsControlControlBindingModel<TView, TViewModel, TControl>, IControlBindingModel<TView, TViewModel> where TView : class, IViewFor<TViewModel> where TViewModel : class, IReactiveObject where TControl : Carousel
Type Parameters
TView
TViewModel
TControl
- Inheritance
-
AbstractControlBindingModel<TView, TViewModel, TControl>AbstractUnboundUIElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundFrameworkElementControlBindingModel<TView, TViewModel, TControl>AbstractUnboundControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundItemsControlControlBindingModel<TView, TViewModel, TControl>AbstractUnboundCarouselControlBindingModel<TView, TViewModel, TControl>
- Implements
-
IControlBindingModel<TView, TViewModel>
- Derived
- Inherited Members
Constructors
AbstractUnboundCarouselControlBindingModel(Expression<Func<TView, TControl>>)
Initializes a new instance of the AbstractUnboundCarouselControlBindingModel<TView, TViewModel, TControl> class.
protected AbstractUnboundCarouselControlBindingModel(Expression<Func<TView, TControl>> viewExpression)
Parameters
viewExpression
Expression<Func<TView, TControl>>expression representing the control on the view to bind to.
Properties
EnableLooping
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.EnableLooping
public IOneOrTwoWayBind<TViewModel, bool>? EnableLooping { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
EnableRotationAnimation
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.EnableRotationAnimation
public IOneOrTwoWayBind<TViewModel, bool>? EnableRotationAnimation { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
EnableTouch
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.EnableTouch
public IOneOrTwoWayBind<TViewModel, bool>? EnableTouch { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
EnableVirtualization
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.EnableVirtualization
public IOneOrTwoWayBind<TViewModel, bool>? EnableVirtualization { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
ItemsPerPage
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.ItemsPerPage
public IOneOrTwoWayBind<TViewModel, int>? ItemsPerPage { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
OpacityEnabled
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.OpacityEnabled
public IOneOrTwoWayBind<TViewModel, bool>? OpacityEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
OpacityFraction
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.OpacityFraction
public IOneOrTwoWayBind<TViewModel, double>? OpacityFraction { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
OpacityFractions
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.OpacityFractions
public IOneOrTwoWayBind<TViewModel, PathFractionCollection>? OpacityFractions { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, PathFractionCollection>
Path
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.Path
public IOneOrTwoWayBind<TViewModel, Path>? Path { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, Path>
RadiusX
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.RadiusX
public IOneOrTwoWayBind<TViewModel, double>? RadiusX { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
RadiusY
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.RadiusY
public IOneOrTwoWayBind<TViewModel, double>? RadiusY { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
RotationAngle
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.RotationAngle
public IOneOrTwoWayBind<TViewModel, double>? RotationAngle { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
RotationSpeed
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.RotationSpeed
public IOneOrTwoWayBind<TViewModel, double>? RotationSpeed { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
ScaleFraction
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.ScaleFraction
public IOneOrTwoWayBind<TViewModel, double>? ScaleFraction { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
ScaleFractions
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.ScaleFractions
public IOneOrTwoWayBind<TViewModel, PathFractionCollection>? ScaleFractions { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, PathFractionCollection>
ScalingEnabled
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.ScalingEnabled
public IOneOrTwoWayBind<TViewModel, bool>? ScalingEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
SelectFirstItemCommand
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.SelectFirstItemCommand
public IOneWayBind<TViewModel, RoutedCommand>? SelectFirstItemCommand { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedCommand>
SelectLastItemCommand
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.SelectLastItemCommand
public IOneWayBind<TViewModel, RoutedCommand>? SelectLastItemCommand { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedCommand>
SelectNextItemCommand
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.SelectNextItemCommand
public IOneWayBind<TViewModel, RoutedCommand>? SelectNextItemCommand { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedCommand>
SelectNextPageCommand
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.SelectNextPageCommand
public IOneWayBind<TViewModel, RoutedCommand>? SelectNextPageCommand { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedCommand>
SelectPreviousItemCommand
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.SelectPreviousItemCommand
public IOneWayBind<TViewModel, RoutedCommand>? SelectPreviousItemCommand { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedCommand>
SelectPreviousPageCommand
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.SelectPreviousPageCommand
public IOneWayBind<TViewModel, RoutedCommand>? SelectPreviousPageCommand { get; init; }
Property Value
- IOneWayBind<TViewModel, RoutedCommand>
SelectedIndex
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.SelectedIndex
public IOneOrTwoWayBind<TViewModel, int>? SelectedIndex { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, int>
SelectedItem
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.SelectedItem
public IOneOrTwoWayBind<TViewModel, object>? SelectedItem { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, object>
SelectedValue
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.SelectedValue
public IOneOrTwoWayBind<TViewModel, object>? SelectedValue { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, object>
SkewAngleXEnabled
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.SkewAngleXEnabled
public IOneOrTwoWayBind<TViewModel, bool>? SkewAngleXEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
SkewAngleXFraction
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.SkewAngleXFraction
public IOneOrTwoWayBind<TViewModel, double>? SkewAngleXFraction { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
SkewAngleXFractions
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.SkewAngleXFractions
public IOneOrTwoWayBind<TViewModel, PathFractionCollection>? SkewAngleXFractions { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, PathFractionCollection>
SkewAngleYEnabled
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.SkewAngleYEnabled
public IOneOrTwoWayBind<TViewModel, bool>? SkewAngleYEnabled { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, bool>
SkewAngleYFraction
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.SkewAngleYFraction
public IOneOrTwoWayBind<TViewModel, double>? SkewAngleYFraction { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
SkewAngleYFractions
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.SkewAngleYFractions
public IOneOrTwoWayBind<TViewModel, PathFractionCollection>? SkewAngleYFractions { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, PathFractionCollection>
TopItemPosition
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.TopItemPosition
public IOneOrTwoWayBind<TViewModel, double>? TopItemPosition { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, double>
VisualMode
Gets or sets the binding logic for Syncfusion.Windows.Shared.Carousel.VisualMode
public IOneOrTwoWayBind<TViewModel, VisualMode>? VisualMode { get; init; }
Property Value
- IOneOrTwoWayBind<TViewModel, VisualMode>
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.