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

GetBorderDrawBorders() public method

Gets the actual borders to draw value.
public GetBorderDrawBorders ( PaletteState state ) : PaletteDrawBorders
state PaletteState Palette value should be applicable to this state.
return PaletteDrawBorders
        public PaletteDrawBorders GetBorderDrawBorders(PaletteState state)
        {
            if (DrawBorders != PaletteDrawBorders.Inherit)
                return DrawBorders;
            else
                return _inherit.GetBorderDrawBorders(state);
        }