29 references to VerticalScroll
System.Windows.Forms (27)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
1716public new VScrollProperties VerticalScroll => base.VerticalScroll;
System\Windows\Forms\Scrolling\ScrollableControl.cs (26)
170if (VScroll || VerticalScroll.Visible) 555if (!AutoScroll && VerticalScroll._visible) 557_displayRect = new Rectangle(_displayRect.X, _displayRect.Y, _displayRect.Width, VerticalScroll.Maximum); 1020VerticalScroll._visible = true; 1024ResetScrollProperties(VerticalScroll); 1178if (!VerticalScroll._maximumSetExternally) 1180VerticalScroll._maximum = displayRect.Height - 1; 1183if (!VerticalScroll._largeChangeSetExternally) 1185VerticalScroll._largeChange = ClientRectangle.Height; 1188if (!VerticalScroll._smallChangeSetExternally) 1190VerticalScroll._smallChange = 5; 1193if (-displayRect.Y >= VerticalScroll._minimum && -displayRect.Y < VerticalScroll._maximum) 1195VerticalScroll._value = -displayRect.Y; 1198VerticalScroll.UpdateScrollInfo(); 1212if (VerticalScroll.Visible) 1214VerticalScroll.Value = -displayRect.Y; 1218ResetScrollProperties(VerticalScroll); 1266maxPos = VerticalScroll.Maximum; 1278pos -= VerticalScroll.SmallChange; 1287if (pos < maxPos - VerticalScroll.SmallChange) 1289pos += VerticalScroll.SmallChange; 1298if (pos > VerticalScroll.LargeChange) 1300pos -= VerticalScroll.LargeChange; 1309if (pos < maxPos - VerticalScroll.LargeChange) 1311pos += VerticalScroll.LargeChange;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\FormDocumentDesigner.cs (2)
119if (form.VerticalScroll.Visible) 434if (form.VerticalScroll.Visible && form.AutoScroll)