ComponentFactory.Krypton.Toolkit.PaletteRedirectCommon.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)
        {
            IPaletteTriple inherit = GetInherit(state);
            if (inherit != null)
                return inherit.PaletteBack.GetBackColor2(state);
            else
                return base.GetBackColor2(style, state);
        }