ComponentFactory.Krypton.Toolkit.PaletteRedirectBack.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)
        {
            IPaletteBack inherit = GetInherit(state);

            if (inherit != null)
                return inherit.GetBackColor1(state);
            else
                return Target.GetBackColor1(style, state);
        }