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

GetBackDraw() public method

Gets a value indicating if background should be drawn.
public GetBackDraw ( PaletteBackStyle style, PaletteState state ) : InheritBool
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
return InheritBool
        public override InheritBool GetBackDraw(PaletteBackStyle style, PaletteState state)
        {
            IPaletteBack inherit = GetInherit(state);

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