ComponentFactory.Krypton.Toolkit.PaletteOffice2007Black.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)
        {
            if (style == PaletteContentStyle.ButtonForm)
            {
                switch (state)
                {
                    case PaletteState.FocusOverride:
                    case PaletteState.CheckedNormal:
                        return _schemeColors[(int)SchemeOfficeColors.TextButtonFormPressed];
                }
            }

            return base.GetContentLongTextColor2(style, state);
        }