Live Chat Icon For mobile
Live Chat Icon

How do I reduce flickering when resizing a transparent Panel whose parent has a gradient background ?

Platform: WPF| Category: Annotations

Make sure to set these flags for your panel, for e.g. in it’s constructor. You will have to derive a class from Panel if you were initially using the Panel directly.


base.SetStyle( ControlStyles.DoubleBuffer | ControlStyles.DoubleBuffer | ControlStyles.UserPaint, true );

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.