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

GetBackDraw() public method

Gets a value indicating if background should be drawn.
public GetBackDraw ( PaletteState state ) : InheritBool
state PaletteState Palette value should be applicable to this state.
return InheritBool
        public override InheritBool GetBackDraw(PaletteState state)
        {
            if (_forceDraw != InheritBool.Inherit)
                return _forceDraw;
            else
            {
                if (_borderIgnoreNormal && (state == PaletteState.Normal))
                    return InheritBool.False;
                else
                    return _inherit.GetBackDraw(state);
            }
        }