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

GetContentLongTextImageStyle() public method

Gets the background image style for the long text.
public GetContentLongTextImageStyle ( PaletteState state ) : PaletteImageStyle
state PaletteState Palette value should be applicable to this state.
return PaletteImageStyle
        public override PaletteImageStyle GetContentLongTextImageStyle(PaletteState state)
        {
            if (_apply)
            {
                PaletteImageStyle ret = _primary.GetContentLongTextImageStyle(_override ? _state : state);

                if (ret == PaletteImageStyle.Inherit)
                    ret = _backup.GetContentLongTextImageStyle(state);

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