24 references to HorizontalScrollBarHeight
System.Windows.Forms (13)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
10171
int horizScrollBarHeight = _horizScrollBar.Height = SystemInformation.
HorizontalScrollBarHeight
;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (2)
2041
GetRowsHeightExceedLimit(DataGridViewElementStates.Visible, 0, rowIndex, DataGridView.LayoutInfo.Data.Height + SystemInformation.
HorizontalScrollBarHeight
);
2053
useRowShortcut = GetRowsHeightExceedLimit(DataGridViewElementStates.Visible, 0, rowIndex, DataGridView.LayoutInfo.Data.Height + DataGridView.VerticalScrollingOffset + SystemInformation.
HorizontalScrollBarHeight
) &&
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (2)
31
private static readonly int s_resizeGripSize = SystemInformation.
HorizontalScrollBarHeight
;
41
new(SystemInformation.VerticalScrollBarWidth * 4, SystemInformation.
HorizontalScrollBarHeight
* 4);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
433
scrollBarPadding.Height += SystemInformation.
HorizontalScrollBarHeight
;
System\Windows\Forms\Form.cs (3)
3037
correctClientSize.Height += SystemInformation.
HorizontalScrollBarHeight
;
3067
correct.Height += SystemInformation.
HorizontalScrollBarHeight
;
5305
y += SystemInformation.
HorizontalScrollBarHeight
;
System\Windows\Forms\Scrolling\HScrollBar.cs (1)
24
=> new(80, SystemInformation.
HorizontalScrollBarHeight
);
System\Windows\Forms\Scrolling\ScrollableControl.cs (3)
316
fullClient.Height += SystemInformation.
HorizontalScrollBarHeight
;
320
minClient.Height -= SystemInformation.
HorizontalScrollBarHeight
;
503
clientToBe.Height -= SystemInformation.
HorizontalScrollBarHeight
;
System.Windows.Forms.Design (3)
System\ComponentModel\Design\ByteViewer.cs (1)
438
_scrollbarHeight = SystemInformation.
HorizontalScrollBarHeight
;
System\Windows\Forms\Design\FormDocumentDesigner.cs (2)
116
size.Height += SystemInformation.
HorizontalScrollBarHeight
;
431
clientHeight += SystemInformation.
HorizontalScrollBarHeight
;
System.Windows.Forms.Tests (8)
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (1)
278
int horizontalScrollBarHeight = SystemInformation.
HorizontalScrollBarHeight
;
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (1)
550
int horizontalScrollBarHeight = SystemInformation.
HorizontalScrollBarHeight
;
System\Windows\Forms\PropertyGridInternal\PropertyGridView.DropDownHolderTests.cs (1)
98
int resizeBarSize = SystemInformation.
HorizontalScrollBarHeight
+ 1;
System\Windows\Forms\ScrollableControlTests.cs (2)
200
yield return new object[] { true, width, height, width + 50, height - 20, new Rectangle(0, 0, width, height - SystemInformation.
HorizontalScrollBarHeight
) };
201
yield return new object[] { true, width, height, width + 50, height + 50, new Rectangle(0, 0, width - SystemInformation.VerticalScrollBarWidth, height - SystemInformation.
HorizontalScrollBarHeight
) };
System\Windows\Forms\SystemInformationTests.cs (2)
233
int height = SystemInformation.
HorizontalScrollBarHeight
;
235
Assert.Equal(height, SystemInformation.
HorizontalScrollBarHeight
);
TrackBarTests.cs (1)
14
public static readonly int s_dimension = (SystemInformation.
HorizontalScrollBarHeight
* 8) / 3;