25 writes to Value
System.Windows.Forms (3)
System\Windows\Forms\Scrolling\ScrollableControl.cs (2)
1207
HorizontalScroll.
Value
= -displayRect.X;
1216
VerticalScroll.
Value
= -displayRect.Y;
System\Windows\Forms\Scrolling\ScrollProperties.cs (1)
122
Value
= value;
System.Windows.Forms.Tests (22)
System\Windows\Forms\ScrollableControlTests.cs (12)
1034
control.HorizontalScroll.
Value
= hValue;
1035
control.VerticalScroll.
Value
= vValue;
1059
control.HorizontalScroll.
Value
= hValue;
1060
control.VerticalScroll.
Value
= vValue;
1126
control.HorizontalScroll.
Value
= hValue;
1127
control.VerticalScroll.
Value
= vValue;
1192
control.HorizontalScroll.
Value
= hValue;
1193
control.VerticalScroll.
Value
= vValue;
1227
control.HorizontalScroll.
Value
= hValue;
1228
control.VerticalScroll.
Value
= vValue;
1304
control.HorizontalScroll.
Value
= hValue;
1305
control.VerticalScroll.
Value
= vValue;
System\Windows\Forms\ScrollPropertiesTests.cs (10)
286
Value
= 10,
345
Value
= 5,
369
Value
= 10,
406
Value
= 5,
447
Value
= value
456
properties.
Value
= value;
476
Value
= value
491
Value
= value
500
properties.
Value
= value;
515
Assert.Throws<ArgumentOutOfRangeException>("value", () => properties.
Value
= value);
35 references to Value
System.Windows.Forms (1)
System\Windows\Forms\Scrolling\ScrollProperties.cs (1)
223
throw new ArgumentOutOfRangeException(nameof(value), string.Format(SR.InvalidBoundArgument, nameof(
Value
), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'"));
System.Windows.Forms.Tests (34)
System\Windows\Forms\HScrollPropertiesTests.cs (1)
27
Assert.Equal(0, properties.
Value
);
System\Windows\Forms\ScrollableControlTests.cs (12)
1039
Assert.Equal(expectedHValue, control.HorizontalScroll.
Value
);
1042
Assert.Equal(expectedVValue, control.VerticalScroll.
Value
);
1064
Assert.Equal(expectedHValue, control.HorizontalScroll.
Value
);
1067
Assert.Equal(expectedVValue, control.VerticalScroll.
Value
);
1131
Assert.Equal(expectedHValue, control.HorizontalScroll.
Value
);
1134
Assert.Equal(expectedVValue, control.VerticalScroll.
Value
);
1204
Assert.Equal(expectedHValue, control.HorizontalScroll.
Value
);
1207
Assert.Equal(expectedVValue, control.VerticalScroll.
Value
);
1239
Assert.Equal(expectedHValue, control.HorizontalScroll.
Value
);
1242
Assert.Equal(expectedVValue, control.VerticalScroll.
Value
);
1316
Assert.Equal(expectedHValue, control.HorizontalScroll.
Value
);
1319
Assert.Equal(expectedVValue, control.VerticalScroll.
Value
);
System\Windows\Forms\ScrollPropertiesTests.cs (20)
27
Assert.Equal(0, properties.
Value
);
244
Assert.Equal(0, properties.
Value
);
252
Assert.Equal(0, properties.
Value
);
267
Assert.Equal(0, properties.
Value
);
275
Assert.Equal(0, properties.
Value
);
292
Assert.Equal(5, properties.
Value
);
307
Assert.Equal(-1, properties.
Value
);
327
Assert.Equal(0, properties.
Value
);
350
Assert.Equal(5, properties.
Value
);
358
Assert.Equal(5, properties.
Value
);
375
Assert.Equal(12, properties.
Value
);
395
Assert.Equal(0, properties.
Value
);
411
Assert.Equal(5, properties.
Value
);
419
Assert.Equal(5, properties.
Value
);
451
Assert.Equal(value, properties.
Value
);
459
Assert.Equal(value, properties.
Value
);
480
Assert.Equal(value, properties.
Value
);
495
Assert.Equal(value, properties.
Value
);
503
Assert.Equal(value, properties.
Value
);
516
Assert.Equal(0, properties.
Value
);
System\Windows\Forms\VScrollPropertiesTests.cs (1)
28
Assert.Equal(0, properties.
Value
);