GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoColorPreview Class / OnPaint Method
In This Topic
    OnPaint Method (GoColorPreview)
    In This Topic
    The OnPaint method overrides the Control.OnPaint() method to fill the control with the Color
    Syntax
    [EditorBrowsable(EditorBrowsableState.Advanced)]
    protected override void OnPaint( 
       PaintEventArgs e
    )

    Parameters

    e
    Remarks
    If the Color is not completely opaque, this method first draws a checkboard pattern in the bottom half of the control, so that the translucent Color can demonstrate how it obscures what is drawn in the background.
    See Also