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

GetBorderDrawBorders() public method

Gets a value indicating which borders to draw.
public GetBorderDrawBorders ( PaletteBorderStyle style, PaletteState state ) : PaletteDrawBorders
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
return PaletteDrawBorders
        public override PaletteDrawBorders GetBorderDrawBorders(PaletteBorderStyle style, PaletteState state)
        {
            IPaletteDouble inherit = GetInherit(state);

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