Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Enhancement] Support drag-and-drop reordering in CollectionView #4676

Closed
@velocitysystems

Description

@velocitysystems

Summary

Support drag-and-drop reordering in CollectionView.

API Changes

public static readonly BindableProperty ReorderModeProperty;
public CollectionViewReorderMode ReorderMode { get; set; }

public enum CollectionViewReorderMode {
     Disabled,
     Enabled
}

When ReorderMode is set to Enabled, the view supports drag-and-drop reordering.
Upon dragging an item in the collection, the Move() method on the ObservableCollection<T> is called to signal the change to the dataset.

Intended Use Case

Reordering a collection of elements ie. tasks, reminders, photos, tracks in a playlist etc.

Other Notes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions