ComponentFactory.Krypton.Toolkit.PaletteRedirectDouble.GetBackImage C# (CSharp) Method

GetBackImage() public method

Gets a background image.
public GetBackImage ( PaletteBackStyle style, PaletteState state ) : Image
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
return Image
        public override Image GetBackImage(PaletteBackStyle style, PaletteState state)
        {
            IPaletteDouble inherit = GetInherit(state);

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