public Color GetBorderColor1(PaletteState state) { if (Color1 != Color.Empty) return Color1; else return _inherit.GetBorderColor1(state); }