ComponentFactory.Krypton.Toolkit.PaletteRedirectBack.GetBackColor2 C# (CSharp) Method

GetBackColor2() public method

Gets the second back color.
public GetBackColor2 ( PaletteBackStyle style, PaletteState state ) : Color
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
return Color
        public override Color GetBackColor2(PaletteBackStyle style, PaletteState state)
        {
            IPaletteBack inherit = GetInherit(state);

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