ComponentFactory.Krypton.Ribbon.ViewDrawRibbonGroup.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)
        {
            // Cache the control that we are showing inside
            _container = context.Control;

            if (Collapsed)
            {
                if (Pressed)
                    RenderCollapsedPressedBefore(context);
                else
                    RenderCollapsedBefore(context);
            }
            else
                RenderNormalBefore(context);
        }