public Color GetRibbonTextColor(PaletteState state) { if (TextColor != Color.Empty) return TextColor; else { if (_inheritText != null) return _inheritText.GetRibbonTextColor(state); else return Color.Empty; } }