ComponentFactory.Krypton.Ribbon.ViewDrawRibbonTab.RenderAfter C# (CSharp) Method

RenderAfter() public method

Perform rendering after child elements are rendered.
public RenderAfter ( RenderContext context ) : void
context ComponentFactory.Krypton.Toolkit.RenderContext Rendering context.
return void
        public override void RenderAfter(RenderContext context)
        {
            // Grab the context tab set that relates to this tab
            ContextTabSet cts = ViewLayoutRibbonTabs.ContextTabSets[RibbonTab.ContextName];

            // Is this tab part of a context?
            if (cts != null)
            {
                switch (_ribbon.RibbonShape)
                {
                    case PaletteRibbonShape.Office2010:
                        RenderAfter2010ContextTab(context, cts);
                        break;
                }
            }
        }