/// <summary> /// Queries the image provider for support of a specific size. /// </summary> /// <param name="key">Key used to identify an image.</param> /// <param name="size">Indicated image size</param> /// <returns>Returns true when the requested size is supported.</returns> public virtual bool IsImageSupported(object key, ImageSize size) { return(ImageProvider.IsImageSupported(key, size)); }
/// <summary> /// Queries the image provider for support of a specific size. /// </summary> /// <param name="key">Key used to identify an image.</param> /// <param name="size">Indicated image size</param> /// <returns>Returns true when the requested size is supported.</returns> public virtual bool IsImageSupported(object key, ShengToolStripImageSize size) { return ImageProvider.IsImageSupported(key, size); }