public override Color GetContentShortTextColor2(PaletteContentStyle style, PaletteState state)
{
// Only override system palette if a recognized office 2003 color scheme is used
if (_usingOffice2003)
{
if (state == PaletteState.Disabled)
return SystemColors.ControlDark;
switch (style)
{
case PaletteContentStyle.HeaderDockInactive:
return SystemColors.ControlText;
case PaletteContentStyle.HeaderDockActive:
return SystemColors.ActiveCaptionText;
}
}
// Get everything else from the base class implementation
return base.GetContentShortTextColor2(style, state);
}