Transparent Background UserControl/Custom DoubleBufferedPanel in WinForms causing tearing issues
I am creating a WinForm dialog in my application in which I render a tree. The main dialog contains of a custom DoubleBufferedPanel (which inherits from Panel but with DoubleBuffering set to true), and custom user defined controls, which have a transparent background as well.
I 'removed' the scrollbars on the panel, and made it draggable, so you can drag yourself around the family tree. But when dragging I have a lot of tearing in both panel and user controls and its driving me crazy. Is there anyone here that might want to help me solve this?

7 Replies
When I assign them with a solid color, the tearing goes away
WinForms lacks transparency support
Prefer WPF or AvaloniaUI
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Yes I know but I have a huge winform application, not WPF lol
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
I set backColor to Lime for both panel and controls and used transparency key on the form. But now dialog is transparent completely there.

Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View