ComponentFactory.Krypton.Toolkit.PaletteRedirectCommon.GetBackColor1 C# (CSharp) Method

GetBackColor1() public method

Gets the first background color.
public GetBackColor1 ( PaletteBackStyle style, PaletteState state ) : Color
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
return Color
        public override Color GetBackColor1(PaletteBackStyle style, PaletteState state)
        {
            IPaletteTriple inherit = GetInherit(state);
            if (inherit != null)
                return inherit.PaletteBack.GetBackColor1(state);
            else
                return base.GetBackColor1(style, state);
        }