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

GetRibbonBackColor1() public method

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

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

            return retColor;
        }