22 references to VerticalScrollBarWidth
System.Windows.Forms (15)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
837cachedDropDownWidth = maxPreferredWidth + 2 + SystemInformation.VerticalScrollBarWidth;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
948SystemInformation.VerticalScrollBarWidth <= this.layout.Data.Width) 951availableWidth -= SystemInformation.VerticalScrollBarWidth; 10346int vertScrollBarWidth = this.vertScrollBar.Width = SystemInformation.VerticalScrollBarWidth;
winforms\Managed\System\WinForms\Form.cs (3)
3427correctClientSize.Width += SystemInformation.VerticalScrollBarWidth; 3449correct.Width += SystemInformation.VerticalScrollBarWidth; 6035if (VScroll) x += SystemInformation.VerticalScrollBarWidth;
winforms\Managed\System\WinForms\ListBox.cs (1)
779width += SystemInformation.VerticalScrollBarWidth + 4;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
3893maxWidth += 2 + tm.tmMaxCharWidth + SystemInformation.VerticalScrollBarWidth; 5476MinDropDownSize = new Size(SystemInformation.VerticalScrollBarWidth * 4, SystemInformation.HorizontalScrollBarHeight * 4);
winforms\Managed\System\WinForms\RichTextBox.cs (1)
566scrollBarPadding.Width += SystemInformation.VerticalScrollBarWidth;
winforms\Managed\System\WinForms\ScrollableControl.cs (3)
437fullClient.Width += SystemInformation.VerticalScrollBarWidth; 440minClient.Width -= SystemInformation.VerticalScrollBarWidth; 595clientToBe.Width -= SystemInformation.VerticalScrollBarWidth;
winforms\Managed\System\WinForms\VScrollBar.cs (1)
63return new Size(SystemInformation.VerticalScrollBarWidth, VERTICAL_SCROLLBAR_HEIGHT);
System.Workflow.ComponentModel (7)
AuthoringOM\Design\DesignerWidgets.cs (2)
1461Width = SystemInformation.VerticalScrollBarWidth + 2; 1464this.tabStrip = new TabStrip(Orientation.Vertical, SystemInformation.VerticalScrollBarWidth);
AuthoringOM\Design\WorkflowView.cs (5)
1082e.Graphics.FillRectangle(SystemBrushes.Control, new Rectangle(Width - SystemInformation.VerticalScrollBarWidth, Height - SystemInformation.HorizontalScrollBarHeight, SystemInformation.VerticalScrollBarWidth, SystemInformation.HorizontalScrollBarHeight)); 1273hScrollBar.Bounds = new Rectangle(0, Math.Max(0, Height - SystemInformation.HorizontalScrollBarHeight), Math.Max(Width - ((vScrollBar.Visible) ? SystemInformation.VerticalScrollBarWidth : 0), 0), SystemInformation.HorizontalScrollBarHeight); 1276vScrollBar.Bounds = new Rectangle(Math.Max(0, Width - SystemInformation.VerticalScrollBarWidth), 0, SystemInformation.VerticalScrollBarWidth, Math.Max(Height - ((hScrollBar.Visible) ? SystemInformation.HorizontalScrollBarHeight : 0), 0));