public PaletteRectangleAlign GetContentShortTextColorAlign(PaletteState state) { if (_colorAlign != PaletteRectangleAlign.Inherit) return _colorAlign; else return _inherit.GetContentShortTextColorAlign(state); }