29 references to VerticalScrollBarWidth
System.Windows.Forms (15)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
941&& SystemInformation.VerticalScrollBarWidth <= _layout.Data.Width) 944availableWidth -= SystemInformation.VerticalScrollBarWidth; 10171int vertScrollBarWidth = _vertScrollBar.Width = SystemInformation.VerticalScrollBarWidth;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
614s_cachedDropDownWidth = maxPreferredWidth + 2 + SystemInformation.VerticalScrollBarWidth;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
769width += SystemInformation.VerticalScrollBarWidth + 4;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3715maxWidth += 2 + tm.tmMaxCharWidth + SystemInformation.VerticalScrollBarWidth;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
41new(SystemInformation.VerticalScrollBarWidth * 4, SystemInformation.HorizontalScrollBarHeight * 4);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
438scrollBarPadding.Width += SystemInformation.VerticalScrollBarWidth;
System\Windows\Forms\Form.cs (3)
3042correctClientSize.Width += SystemInformation.VerticalScrollBarWidth; 3062correct.Width += SystemInformation.VerticalScrollBarWidth; 5297x += SystemInformation.VerticalScrollBarWidth;
System\Windows\Forms\Scrolling\ScrollableControl.cs (3)
325fullClient.Width += SystemInformation.VerticalScrollBarWidth; 329minClient.Width -= SystemInformation.VerticalScrollBarWidth; 508clientToBe.Width -= SystemInformation.VerticalScrollBarWidth;
System\Windows\Forms\Scrolling\VScrollBar.cs (1)
36return new Size(SystemInformation.VerticalScrollBarWidth, DefaultHeight);
System.Windows.Forms.Design (8)
System\ComponentModel\Design\ByteViewer.cs (1)
439_scrollbarWidth = SystemInformation.VerticalScrollBarWidth;
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
103maxWidth += 2 + tm.tmMaxCharWidth + SystemInformation.VerticalScrollBarWidth;
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
158requestedSize.Width += SystemInformation.VerticalScrollBarWidth;
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (1)
116Width = Math.Max(Width, PreferredWidth + (SystemInformation.VerticalScrollBarWidth * 2));
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
579Width = Math.Max(Width, _treeViewCtrl is null ? 0 : _treeViewCtrl.PreferredWidth + (SystemInformation.VerticalScrollBarWidth * 2));
System\Windows\Forms\Design\FormDocumentDesigner.cs (2)
121size.Width += SystemInformation.VerticalScrollBarWidth; 436clientWidth += SystemInformation.VerticalScrollBarWidth;
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
83_validatingTypeHeader.Width = (_listViewCannedMasks.Width / 3) - SystemInformation.VerticalScrollBarWidth - 4; // so no h-scrollbar.
System.Windows.Forms.Tests (6)
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (1)
279int verticalScrollBarWidth = SystemInformation.VerticalScrollBarWidth;
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (1)
551int verticalScrollBarWidth = SystemInformation.VerticalScrollBarWidth;
System\Windows\Forms\ScrollableControlTests.cs (2)
199yield return new object[] { true, width, height, width - 20, height + 50, new Rectangle(0, 0, width - SystemInformation.VerticalScrollBarWidth, height) }; 201yield 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)
782int width = SystemInformation.VerticalScrollBarWidth; 785Assert.Equal(width, SystemInformation.VerticalScrollBarWidth);