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

GetContentShortTextMultiLine() public method

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

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

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