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

GetContentLongTextColor2() public method

Gets the second back color for the long text.
public GetContentLongTextColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color
        public override Color GetContentLongTextColor2(PaletteState state)
        {
            if (_apply)
            {
                Color ret = _primary.GetContentLongTextColor2(_override ? _state : state);

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

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