System.Windows.Forms.ControlStyles.AllPaintingInWmPaint Field

If true, the control ignores the window message WM_ERASEBKGND to reduce flicker. This style should only be applied if the ControlStyles.UserPaint bit is set to true.

Syntax

ControlStyles AllPaintingInWmPaint

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0