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