ComponentFactory.Krypton.Toolkit.PaletteOffice2007Black.GetContentShortTextColor1 C# (CSharp) Method

GetContentShortTextColor1() public method

Gets the first back color for the short text.
public GetContentShortTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
return Color
        public override Color GetContentShortTextColor1(PaletteContentStyle style, PaletteState state)
        {
            if (style == PaletteContentStyle.ButtonForm)
            {
                switch (state)
                {
                    case PaletteState.FocusOverride:
                    case PaletteState.CheckedNormal:
                        return _schemeColors[(int)SchemeOfficeColors.TextButtonFormPressed];
                }
            }

            return base.GetContentShortTextColor1(style, state);
        }