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);
}
}