ComponentFactory.Krypton.Toolkit.VisualPopupShadow.OnPaintBackground C# (CSharp) Method

OnPaintBackground() protected method

Raises the PaintBackground event.
protected OnPaintBackground ( PaintEventArgs pevent ) : void
pevent PaintEventArgs A PaintEventArgs containing the event data.
return void
        protected override void OnPaintBackground(PaintEventArgs pevent)
        {
            // Magenta is the transparent color
            pevent.Graphics.FillRectangle(Brushes.Magenta, pevent.ClipRectangle);
        }