ComponentFactory.Krypton.Toolkit.PaletteOffice2010Black.GetContentLongTextColor2 C# (CSharp) Method

GetContentLongTextColor2() public method

Gets the second back color for the long text.
public GetContentLongTextColor2 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
return Color
        public override Color GetContentLongTextColor2(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.GetContentLongTextColor2(style, state);
        }