28 references to HorizontalScroll
System.Windows.Forms (28)
winforms\Managed\System\WinForms\ScrollableControl.cs (27)
235
if (HScroll ||
HorizontalScroll
.Visible) {
643
if (!AutoScroll && this.
HorizontalScroll
.visible == true) {
644
displayRect = new Rectangle(displayRect.X, displayRect.Y, this.
HorizontalScroll
.Maximum, this.displayRect.Height);
1104
HorizontalScroll
.visible = true;
1108
ResetScrollProperties(
HorizontalScroll
);
1232
if (!
HorizontalScroll
.maximumSetExternally) {
1233
HorizontalScroll
.maximum = displayRect.Width-1;
1235
if (!
HorizontalScroll
.largeChangeSetExternally) {
1236
HorizontalScroll
.largeChange = ClientRectangle.Width;
1238
if (!
HorizontalScroll
.smallChangeSetExternally) {
1239
HorizontalScroll
.smallChange = 5;
1245
else if(-displayRect.X >=
HorizontalScroll
.minimum && -displayRect.X <
HorizontalScroll
.maximum) {
1246
HorizontalScroll
.value = -displayRect.X;
1248
HorizontalScroll
.UpdateScrollInfo ();
1267
if (this.
HorizontalScroll
.Visible) {
1268
HorizontalScroll
.Value = -displayRect.X;
1271
ResetScrollProperties(
HorizontalScroll
);
1396
maxPos = this.
HorizontalScroll
.Maximum;
1405
if (pos >
HorizontalScroll
.SmallChange) {
1406
pos-=
HorizontalScroll
.SmallChange;
1413
if (pos < maxPos-
HorizontalScroll
.SmallChange) {
1414
pos+=
HorizontalScroll
.SmallChange;
1421
if (pos >
HorizontalScroll
.LargeChange) {
1422
pos-=
HorizontalScroll
.LargeChange;
1429
if (pos < maxPos-
HorizontalScroll
.LargeChange) {
1430
pos+=
HorizontalScroll
.LargeChange;
winforms\Managed\System\WinForms\ToolStrip.cs (1)
1040
return base.
HorizontalScroll
;