menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DragIndicatorView - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DragIndicatorView

    To display the drag indicator in the SfListView item for perform drag and drop operation.

    Inheritance
    System.Object
    DragIndicatorView
    Implements
    System.IDisposable
    Namespace: Syncfusion.ListView.XForms
    Assembly: Syncfusion.SfListView.XForms.dll
    Syntax
    public class DragIndicatorView : ContentView, IDisposable

    Constructors

    DragIndicatorView()

    Initializes a new instance of the DragIndicatorView class.

    Declaration
    public DragIndicatorView()

    Properties

    ListView

    Gets or sets a value which indicates the instance of SfListView.

    Declaration
    public SfListView ListView { get; set; }
    Property Value
    Type
    SfListView

    Methods

    Dispose()

    Disposes the allocated objects.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes the instances, if the parameter is set to true.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    If true, dispose all the allocated objects.

    ShouldInvalidateOnChildAdded(View)

    Avoids the child view invalidate when adding into DragIndicatorView.

    Declaration
    protected override bool ShouldInvalidateOnChildAdded(View child)
    Parameters
    Type Name Description
    Xamarin.Forms.View child

    Indicates the child view.

    Returns
    Type Description
    System.Boolean

    Return false to avoid invalidate.

    ShouldInvalidateOnChildRemoved(View)

    Avoids the child view invalidate when removing from DragIndicatorView.

    Declaration
    protected override bool ShouldInvalidateOnChildRemoved(View child)
    Parameters
    Type Name Description
    Xamarin.Forms.View child

    Indicates the child view.

    Returns
    Type Description
    System.Boolean

    Return false to avoid invalidate.

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved