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