Skip to content

ReorderListBox selects items when dragging outside list #29

@jonashogstrom

Description

@jonashogstrom

When an element is dragged outside the vertical bounds of the listbox, the item that was previously on top (or bottom) will get selected.

A workaround for this is:

        _myListBox.SelectionChanged += delegate
                {
                    if (_myListBox.SelectedIndex != -1)
                        _myListBox.SelectedIndex = -1;
                };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions