Skip to content

windows forms: listview column click sort #9631

@ghost

Description

@ghost

hi

In .net 4 I implemented listview column click sorting by implementing a listviewitemsorter class and use this for the listview.
The same code throws an exception in .net 5.0 and also makes the program crash completely while this same code works in .net 4 without any problems or crash.

Is this a bug or how to implement column click sorting in a listview correctlly for .net 5.0?

I don't find any docs for this, and no explanation what the exception means.

Jessica

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