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