ComponentFactory.Krypton.Ribbon.ViewDrawRibbonGroupTitle.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)
        {
            // Use renderer to draw the text content
            if (_memento != null)
                context.Renderer.RenderStandardContent.DrawContent(context, ClientRectangle,
                                                                   _contentProvider, _memento,
                                                                   VisualOrientation.Top,
                                                                   PaletteState.Normal, false, true);
        }