menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CarouselSwipeMode - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CarouselSwipeMode

    Enables or disables the slide swiping action through Touch and Mouse.

    Inheritance
    System.Object
    CarouselSwipeMode
    Namespace: Syncfusion.Blazor.Navigations
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class CarouselSwipeMode : Enum
    Remarks

    The slide swiping is enabled or disabled using bitwise operators. The swiping is disabled using ‘~’ bitwise operator.

    Examples
     
    
    <SfCarousel SwipeMode="CarouselSwipeMode.Touch & CarouselSwipeMode.Mouse"> 
    </SfCarousel> 

    Fields

    Mouse

    Enables or disables the slide swiping through Mouse.

    Declaration
    public const CarouselSwipeMode Mouse
    Field Value
    Type
    CarouselSwipeMode

    Touch

    Enables or disables the Touch swiping.

    Declaration
    public const CarouselSwipeMode Touch
    Field Value
    Type
    CarouselSwipeMode
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved