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

GetContentShortTextImage() public method

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

                if (ret == null)
                    ret = _backup.GetContentShortTextImage(state);

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