6 references to HorizontalScrollBarThumbWidth
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (4)
546int dropWidth = Math.Min(SystemInformation.HorizontalScrollBarThumbWidth, adjustedSize.Width - 2 * Margin - 1); 1197preferredSize.Width += SystemInformation.HorizontalScrollBarThumbWidth + 1 + (2 * Margin) + borderAndPaddingWidths; 1203borderAndPaddingWidths + SystemInformation.HorizontalScrollBarThumbWidth + 1 + (IconMarginWidth * 2) + s_iconsWidth); 1992int dropWidth = Math.Min(SystemInformation.HorizontalScrollBarThumbWidth, valBounds.Width - 2 * Margin - 1);
System.Windows.Forms.Tests (2)
System\Windows\Forms\SystemInformationTests.cs (2)
241int width = SystemInformation.HorizontalScrollBarThumbWidth; 243Assert.Equal(width, SystemInformation.HorizontalScrollBarThumbWidth);