Question

Is it possible to use a linear gradient brush to paint the background of a list box? If so how do I raise the paint event to do that?

Thanks.

Was it helpful?

Solution

Try responding (or overriding) to the OnPaintBackground event. You shouldn't need to do anything too special.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top