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

GetBackImageStyle() public method

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

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