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

GetContentShortTextColor1() public method

Gets the first back color for the short text.
public GetContentShortTextColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color
        public override Color GetContentShortTextColor1(PaletteState state)
        {
            switch(state)
            {
                case PaletteState.Normal:
                    return _cellStyle.ForeColor;
                case PaletteState.CheckedNormal:
                    return _cellStyle.SelectionForeColor;
            }

            return _inherit.GetContentShortTextColor1(state);
        }