ComponentFactory.Krypton.Toolkit.PaletteContentInheritOverride.GetContentLongTextColor2 C# (CSharp) 메소드

GetContentLongTextColor2() 공개 메소드

Gets the second back color for the long text.
public GetContentLongTextColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
리턴 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);
        }