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