ComponentFactory.Krypton.Toolkit.ViewLayoutColorStack.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)
        {
            // Ask each child to render in turn
            foreach (ViewBase child in this)
            {
                // Only render visible children that are inside the clipping rectangle
                if (child.Visible && child.ClientRectangle.IntersectsWith(context.ClipRect))
                    child.RenderBefore(context);
            }
        }