104 references to VerticalScroll
System.Windows.Forms (27)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
1725
public new VScrollProperties VerticalScroll => base.
VerticalScroll
;
System\Windows\Forms\Scrolling\ScrollableControl.cs (26)
172
if (VScroll ||
VerticalScroll
.Visible)
563
if (!AutoScroll &&
VerticalScroll
._visible)
565
_displayRect = new Rectangle(_displayRect.X, _displayRect.Y, _displayRect.Width,
VerticalScroll
.Maximum);
1028
VerticalScroll
._visible = true;
1032
ResetScrollProperties(
VerticalScroll
);
1186
if (!
VerticalScroll
._maximumSetExternally)
1188
VerticalScroll
._maximum = displayRect.Height - 1;
1191
if (!
VerticalScroll
._largeChangeSetExternally)
1193
VerticalScroll
._largeChange = ClientRectangle.Height;
1196
if (!
VerticalScroll
._smallChangeSetExternally)
1198
VerticalScroll
._smallChange = 5;
1201
if (-displayRect.Y >=
VerticalScroll
._minimum && -displayRect.Y <
VerticalScroll
._maximum)
1203
VerticalScroll
._value = -displayRect.Y;
1206
VerticalScroll
.UpdateScrollInfo();
1220
if (
VerticalScroll
.Visible)
1222
VerticalScroll
.Value = -displayRect.Y;
1226
ResetScrollProperties(
VerticalScroll
);
1274
maxPos =
VerticalScroll
.Maximum;
1286
pos -=
VerticalScroll
.SmallChange;
1295
if (pos < maxPos -
VerticalScroll
.SmallChange)
1297
pos +=
VerticalScroll
.SmallChange;
1306
if (pos >
VerticalScroll
.LargeChange)
1308
pos -=
VerticalScroll
.LargeChange;
1317
if (pos < maxPos -
VerticalScroll
.LargeChange)
1319
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)
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\ByteViewerTests.cs (3)
124
Assert.NotNull(control.
VerticalScroll
);
125
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
System.Windows.Forms.Tests (71)
System\Windows\Forms\ContainerControlTests.cs (3)
118
Assert.NotNull(control.
VerticalScroll
);
119
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (3)
159
Assert.NotNull(control.
VerticalScroll
);
160
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (3)
121
Assert.NotNull(control.
VerticalScroll
);
122
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
System\Windows\Forms\DomainUpDownTests.cs (3)
147
_sub.
VerticalScroll
.Should().NotBeNull();
148
_sub.
VerticalScroll
.Should().BeSameAs(_sub.
VerticalScroll
);
System\Windows\Forms\FlowLayoutPanelTests.cs (3)
111
Assert.NotNull(control.
VerticalScroll
);
112
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
System\Windows\Forms\FormTests.cs (3)
161
Assert.NotNull(control.
VerticalScroll
);
162
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
System\Windows\Forms\PanelTests.cs (3)
111
Assert.NotNull(control.
VerticalScroll
);
112
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
System\Windows\Forms\PropertyGridTests.cs (3)
160
Assert.NotNull(control.
VerticalScroll
);
161
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
System\Windows\Forms\ScrollableControlTests.cs (23)
111
Assert.NotNull(control.
VerticalScroll
);
112
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
174
control.
VerticalScroll
.Visible = verticalScrollVisible;
541
control.
VerticalScroll
.Visible = true;
1033
control.
VerticalScroll
.Value = vValue;
1040
Assert.Equal(expectedVValue, control.
VerticalScroll
.Value);
1041
Assert.False(control.
VerticalScroll
.Visible);
1058
control.
VerticalScroll
.Value = vValue;
1065
Assert.Equal(expectedVValue, control.
VerticalScroll
.Value);
1066
Assert.False(control.
VerticalScroll
.Visible);
1125
control.
VerticalScroll
.Value = vValue;
1132
Assert.Equal(expectedVValue, control.
VerticalScroll
.Value);
1133
Assert.True(control.
VerticalScroll
.Visible);
1191
control.
VerticalScroll
.Value = vValue;
1205
Assert.Equal(expectedVValue, control.
VerticalScroll
.Value);
1206
Assert.False(control.
VerticalScroll
.Visible);
1226
control.
VerticalScroll
.Value = vValue;
1240
Assert.Equal(expectedVValue, control.
VerticalScroll
.Value);
1241
Assert.False(control.
VerticalScroll
.Visible);
1303
control.
VerticalScroll
.Value = vValue;
1317
Assert.Equal(expectedVValue, control.
VerticalScroll
.Value);
1318
Assert.True(control.
VerticalScroll
.Visible);
System\Windows\Forms\SplitterPanelTests.cs (3)
98
Assert.NotNull(control.
VerticalScroll
);
99
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
System\Windows\Forms\TableLayoutPanelTests.cs (3)
122
Assert.NotNull(control.
VerticalScroll
);
123
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
System\Windows\Forms\TabPageTests.cs (6)
118
Assert.NotNull(control.
VerticalScroll
);
119
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
227
Assert.NotNull(control.
VerticalScroll
);
228
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
System\Windows\Forms\ToolStripContentPanelTests.cs (3)
116
Assert.NotNull(control.
VerticalScroll
);
117
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
System\Windows\Forms\ToolStripPanelTests.cs (3)
115
Assert.NotNull(control.
VerticalScroll
);
116
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
System\Windows\Forms\UpDownBaseTests.cs (3)
130
Assert.NotNull(control.
VerticalScroll
);
131
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
System\Windows\Forms\UserControlTests.cs (3)
118
Assert.NotNull(control.
VerticalScroll
);
119
Assert.Same(control.
VerticalScroll
, control.
VerticalScroll
);
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
432
VScrollProperties verticalScroll = _propertyGrid.
VerticalScroll
;