ComponentFactory.Krypton.Ribbon.ViewDrawRibbonDesignBase.RenderBefore C# (CSharp) Method

RenderBefore() public method

Perform rendering before child elements are rendered.
public RenderBefore ( RenderContext context ) : void
context ComponentFactory.Krypton.Toolkit.RenderContext Rendering context.
return void
        public override void RenderBefore(RenderContext context)
        {
            // Ensure the child text view has same state as us
            this[0].ElementState = ElementState;

            // Draw background using the design time colors
            DesignTimeDraw.DrawArea(_ribbon, context, ClientRectangle, State);

            base.RenderBefore(context);
        }