ComponentFactory.Krypton.Toolkit.PaletteContentInheritOverride.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)
        {
            if (_apply)
            {
                Color ret = _primary.GetContentShortTextColor1(_override ? _state : state);

                if (ret == Color.Empty)
                    ret = _backup.GetContentShortTextColor1(state);

                return ret;
            }
            else
                return _backup.GetContentShortTextColor1(state);
        }