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