-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
- Have you experienced this same bug with .NET Framework?: Yes
Problem description:
An outcome of investigations in #3358, in the following scenarios CheckBoxes is toggled whilst a user-supplied imagelist is bound to StateImageList property - the native listview control will tarnish the user-supplied one.
The issue is reproducible in net4x and netcore3.1.
Additionally, it appears changes in one instance of listview may affect another, if state imagelist were similar (e.g. contain the same set of images), as the native layer may be caching.
Changes to the 2nd listview after tarnishing the first
Expected behavior:
Changes CheckBoxes property does no affect a user-supplied imagelist.
Minimal repro:
https://github.com/RussKie/ListViewCheckboxesStateImageList
Also the issue is easily reproducible in .NET Framework designer by setting up the StateImageList property on a ListView control, (save), and then setting CheckBoxes=true.

