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

GetBorderDraw() public method

Gets a value indicating if border should be drawn.
public GetBorderDraw ( PaletteBorderStyle style, PaletteState state ) : InheritBool
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
return InheritBool
        public override InheritBool GetBorderDraw(PaletteBorderStyle style, PaletteState state)
        {
            IPaletteDouble inherit = GetInherit(state);

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