alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class AutoScroller

    The AutoScroller class contains the auto scroll information of SfListView when drag and drop is enabled.

    Inheritance
    object
    AutoScroller
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.ListView
    Assembly: Syncfusion.Maui.ListView.dll
    Syntax
    public class AutoScroller

    Constructors

    AutoScroller(SfListView)

    Initializes a new instance of the AutoScroller class.

    Declaration
    public AutoScroller(SfListView listView)
    Parameters
    Type Name Description
    SfListView listView

    Indicates the instance of SfListView.

    Properties

    AllowOutsideScroll

    Gets or sets a value indicating whether to enable auto-scrolling when the item is dragged outside the top and bottom bound regions (for vertical orientation) or left and right bound regions (for horizontal orientation) of the SfListView.

    Declaration
    public bool AllowOutsideScroll { get; set; }
    Property Value
    Type
    bool
    Examples
    SfListView listView = new SfListView();
    listView.DragStartMode = DragStartMode.OnHold;
    this.listView.AutoScroller.AllowOutsideScroll = true;

    Interval

    Gets or sets the value indicating the scrolling interval at which the ListView will automatically scroll while an item is being dragged.

    Declaration
    public TimeSpan Interval { get; set; }
    Property Value
    Type
    TimeSpan
    Examples
    SfListView listView = new SfListView();
    listView.DragStartMode = DragStartMode.OnHold;
    this.listView.AutoScroller.Interval = new TimeSpan(0, 0, 0, 0, 200);

    ScrollMargin

    Gets or sets a value indicating whether auto scrolling should be enabled when the dragged items reach the view bounds, such as the top and bottom regions for vertical orientation, or the left and right regions for horizontal orientation.

    Declaration
    public double ScrollMargin { get; set; }
    Property Value
    Type
    double
    Examples
    SfListView listView = new SfListView();
    listView.DragStartMode = DragStartMode.OnHold;
    this.listView.AutoScroller.ScrollMargin = 20;
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved