ComponentFactory.Krypton.Ribbon.ViewDrawRibbonContextTitle.GetRibbonBackColor2 C# (CSharp) Method

GetRibbonBackColor2() public method

Gets the second background color for the ribbon item.
public GetRibbonBackColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color
        public Color GetRibbonBackColor2(PaletteState state)
        {
            Color retColor = _inherit.GetRibbonBackColor2(state);

            // If empty then try and recover the context specific color
            if (retColor == Color.Empty)
                retColor = CheckForContextColor(state);

            return retColor;
        }