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

GetContentShortTextImageStyle() public method

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

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

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