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

GetContentLongTextMultiLine() public method

Gets the flag indicating if multiline text is allowed for long text.
public GetContentLongTextMultiLine ( PaletteState state ) : InheritBool
state PaletteState Palette value should be applicable to this state.
return InheritBool
        public override InheritBool GetContentLongTextMultiLine(PaletteState state)
        {
            if (_apply)
            {
                InheritBool ret = _primary.GetContentLongTextMultiLine(_override ? _state : state);

                if (ret == InheritBool.Inherit)
                    ret = _backup.GetContentLongTextMultiLine(state);

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