Listbox item color in c#

Hi,
I have been given this task, and it has me stumped.
I need to have a listbox , a button, 7 labels.
The button adds 100 items to list box. Done that.
6 of the labels are colors, the 7th is random. Done also.
Need a drag and drop color onto listbox items, and set color of selected item. Can’t do.
I tried draw event in Winforms, also tried to set highlight brush colors in WPF, not working.
How do I tackle this?

Outline one or all selections in a certain color ? Workdir/ app run dotnet build - release -o re | expose 00 copy app_code workdir/re | entry point [“dotnet”/"app.dll]

.NET Foundation Website | Blog | Projects | Code of Conduct