ComponentFactory.Krypton.Ribbon.PaletteRibbonContextDouble.GetRibbonBackColor2 C# (CSharp) Метод

GetRibbonBackColor2() публичный Метод

Gets the second background color for the ribbon item.
public GetRibbonBackColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат 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;
        }