105 references to HorizontalScroll
System.Windows.Forms (28)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
905get => base.HorizontalScroll;
System\Windows\Forms\Scrolling\ScrollableControl.cs (27)
163if (HScroll || HorizontalScroll.Visible) 558if (!AutoScroll && HorizontalScroll._visible) 560_displayRect = new Rectangle(_displayRect.X, _displayRect.Y, HorizontalScroll.Maximum, _displayRect.Height); 1019HorizontalScroll._visible = true; 1023ResetScrollProperties(HorizontalScroll); 1156if (!HorizontalScroll._maximumSetExternally) 1158HorizontalScroll._maximum = displayRect.Width - 1; 1161if (!HorizontalScroll._largeChangeSetExternally) 1163HorizontalScroll._largeChange = ClientRectangle.Width; 1166if (!HorizontalScroll._smallChangeSetExternally) 1168HorizontalScroll._smallChange = 5; 1176else if (-displayRect.X >= HorizontalScroll._minimum && -displayRect.X < HorizontalScroll._maximum) 1178HorizontalScroll._value = -displayRect.X; 1181HorizontalScroll.UpdateScrollInfo(); 1211if (HorizontalScroll.Visible) 1213HorizontalScroll.Value = -displayRect.X; 1217ResetScrollProperties(HorizontalScroll); 1367maxPos = HorizontalScroll.Maximum; 1378if (pos > HorizontalScroll.SmallChange) 1380pos -= HorizontalScroll.SmallChange; 1389if (pos < maxPos - HorizontalScroll.SmallChange) 1391pos += HorizontalScroll.SmallChange; 1400if (pos > HorizontalScroll.LargeChange) 1402pos -= HorizontalScroll.LargeChange; 1411if (pos < maxPos - HorizontalScroll.LargeChange) 1413pos += HorizontalScroll.LargeChange;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\FormDocumentDesigner.cs (2)
114if (form.HorizontalScroll.Visible) 429if (form.HorizontalScroll.Visible && form.AutoScroll)
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\ByteViewerTests.cs (3)
84Assert.NotNull(control.HorizontalScroll); 85Assert.Same(control.HorizontalScroll, control.HorizontalScroll);
System.Windows.Forms.Tests (71)
System\Windows\Forms\ContainerControlTests.cs (3)
84Assert.NotNull(control.HorizontalScroll); 85Assert.Same(control.HorizontalScroll, control.HorizontalScroll);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (3)
99Assert.NotNull(control.HorizontalScroll); 100Assert.Same(control.HorizontalScroll, control.HorizontalScroll);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (3)
81Assert.NotNull(control.HorizontalScroll); 82Assert.Same(control.HorizontalScroll, control.HorizontalScroll);
System\Windows\Forms\DomainUpDownTests.cs (3)
103_sub.HorizontalScroll.Should().NotBeNull(); 104_sub.HorizontalScroll.Should().BeSameAs(_sub.HorizontalScroll);
System\Windows\Forms\FlowLayoutPanelTests.cs (3)
78Assert.NotNull(control.HorizontalScroll); 79Assert.Same(control.HorizontalScroll, control.HorizontalScroll);
System\Windows\Forms\FormTests.cs (3)
101Assert.NotNull(control.HorizontalScroll); 102Assert.Same(control.HorizontalScroll, control.HorizontalScroll);
System\Windows\Forms\PanelTests.cs (3)
78Assert.NotNull(control.HorizontalScroll); 79Assert.Same(control.HorizontalScroll, control.HorizontalScroll);
System\Windows\Forms\PropertyGridTests.cs (3)
111Assert.NotNull(control.HorizontalScroll); 112Assert.Same(control.HorizontalScroll, control.HorizontalScroll);
System\Windows\Forms\ScrollableControlTests.cs (23)
77Assert.NotNull(control.HorizontalScroll); 78Assert.Same(control.HorizontalScroll, control.HorizontalScroll); 147control.HorizontalScroll.Visible = horizontalScrollVisible; 540control.HorizontalScroll.Visible = true; 1032control.HorizontalScroll.Value = hValue; 1037Assert.Equal(expectedHValue, control.HorizontalScroll.Value); 1038Assert.False(control.HorizontalScroll.Visible); 1057control.HorizontalScroll.Value = hValue; 1062Assert.Equal(expectedHValue, control.HorizontalScroll.Value); 1063Assert.False(control.HorizontalScroll.Visible); 1124control.HorizontalScroll.Value = hValue; 1129Assert.Equal(expectedHValue, control.HorizontalScroll.Value); 1130Assert.True(control.HorizontalScroll.Visible); 1190control.HorizontalScroll.Value = hValue; 1202Assert.Equal(expectedHValue, control.HorizontalScroll.Value); 1203Assert.False(control.HorizontalScroll.Visible); 1225control.HorizontalScroll.Value = hValue; 1237Assert.Equal(expectedHValue, control.HorizontalScroll.Value); 1238Assert.False(control.HorizontalScroll.Visible); 1302control.HorizontalScroll.Value = hValue; 1314Assert.Equal(expectedHValue, control.HorizontalScroll.Value); 1315Assert.True(control.HorizontalScroll.Visible);
System\Windows\Forms\SplitterPanelTests.cs (3)
70Assert.NotNull(control.HorizontalScroll); 71Assert.Same(control.HorizontalScroll, control.HorizontalScroll);
System\Windows\Forms\TableLayoutPanelTests.cs (3)
84Assert.NotNull(control.HorizontalScroll); 85Assert.Same(control.HorizontalScroll, control.HorizontalScroll);
System\Windows\Forms\TabPageTests.cs (6)
83Assert.NotNull(control.HorizontalScroll); 84Assert.Same(control.HorizontalScroll, control.HorizontalScroll); 192Assert.NotNull(control.HorizontalScroll); 193Assert.Same(control.HorizontalScroll, control.HorizontalScroll);
System\Windows\Forms\ToolStripContentPanelTests.cs (3)
80Assert.NotNull(control.HorizontalScroll); 81Assert.Same(control.HorizontalScroll, control.HorizontalScroll);
System\Windows\Forms\ToolStripPanelTests.cs (3)
80Assert.NotNull(control.HorizontalScroll); 81Assert.Same(control.HorizontalScroll, control.HorizontalScroll);
System\Windows\Forms\UpDownBaseTests.cs (3)
90Assert.NotNull(control.HorizontalScroll); 91Assert.Same(control.HorizontalScroll, control.HorizontalScroll);
System\Windows\Forms\UserControlTests.cs (3)
84Assert.NotNull(control.HorizontalScroll); 85Assert.Same(control.HorizontalScroll, control.HorizontalScroll);
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
425HScrollProperties horizontalScroll = _propertyGrid.HorizontalScroll;