public override Color GetContentLongTextColor1(PaletteContentStyle style, PaletteState state)
{
// We do not provide override values
if (CommonHelper.IsOverrideState(state))
return Color.Empty;
switch (style)
{
case PaletteContentStyle.ButtonNavigatorMini:
case PaletteContentStyle.ButtonNavigatorStack:
case PaletteContentStyle.ButtonNavigatorOverflow:
if (state == PaletteState.NormalDefaultOverride)
return _schemeColors[(int)SchemeOfficeColors.TextButtonChecked];
else
return _schemeColors[(int)SchemeOfficeColors.ButtonNavigatorText];
case PaletteContentStyle.HeaderPrimary:
case PaletteContentStyle.HeaderDockInactive:
case PaletteContentStyle.HeaderCalendar:
if (state != PaletteState.Disabled)
return Color.White;
break;
}
return base.GetContentLongTextColor1(style, state);
}