ComponentFactory.Krypton.Toolkit.ViewDrawNull.RenderBefore C# (CSharp) Method

RenderBefore() public method

Perform rendering before child elements are rendered.
public RenderBefore ( RenderContext context ) : void
context RenderContext Rendering context.
return void
        public override void RenderBefore(RenderContext context)
        {
            using(SolidBrush fillBrush = new SolidBrush(_fillColor))
                context.Graphics.FillRectangle(fillBrush, ClientRectangle);
        }