1 write to maxImageWidth
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ImageList.cs (1)
89
maxImageWidth
= DpiHelper.LogicalToDeviceUnitsX(MAX_DIMENSION);
2 references to maxImageWidth
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ImageList.cs (2)
267
if (value.Width <= 0 || value.Width >
maxImageWidth
) {
268
throw new ArgumentOutOfRangeException("ImageSize", SR.GetString(SR.InvalidBoundArgument, "ImageSize.Width", value.Width.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture),
maxImageWidth
.ToString()));