public PaletteDrawBorders GetBorderDrawBorders(PaletteState state) { if (DrawBorders != PaletteDrawBorders.Inherit) return DrawBorders; else return _inherit.GetBorderDrawBorders(state); }