25 writes to Value
System.Windows.Forms (3)
System\Windows\Forms\Scrolling\ScrollableControl.cs (2)
1213
HorizontalScroll.
Value
= -displayRect.X;
1222
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)
1032
control.HorizontalScroll.
Value
= hValue;
1033
control.VerticalScroll.
Value
= vValue;
1057
control.HorizontalScroll.
Value
= hValue;
1058
control.VerticalScroll.
Value
= vValue;
1124
control.HorizontalScroll.
Value
= hValue;
1125
control.VerticalScroll.
Value
= vValue;
1190
control.HorizontalScroll.
Value
= hValue;
1191
control.VerticalScroll.
Value
= vValue;
1225
control.HorizontalScroll.
Value
= hValue;
1226
control.VerticalScroll.
Value
= vValue;
1302
control.HorizontalScroll.
Value
= hValue;
1303
control.VerticalScroll.
Value
= vValue;
System\Windows\Forms\ScrollPropertiesTests.cs (10)
284
Value
= 10,
343
Value
= 5,
367
Value
= 10,
404
Value
= 5,
445
Value
= value
454
properties.
Value
= value;
474
Value
= value
489
Value
= value
498
properties.
Value
= value;
513
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)
25
Assert.Equal(0, properties.
Value
);
System\Windows\Forms\ScrollableControlTests.cs (12)
1037
Assert.Equal(expectedHValue, control.HorizontalScroll.
Value
);
1040
Assert.Equal(expectedVValue, control.VerticalScroll.
Value
);
1062
Assert.Equal(expectedHValue, control.HorizontalScroll.
Value
);
1065
Assert.Equal(expectedVValue, control.VerticalScroll.
Value
);
1129
Assert.Equal(expectedHValue, control.HorizontalScroll.
Value
);
1132
Assert.Equal(expectedVValue, control.VerticalScroll.
Value
);
1202
Assert.Equal(expectedHValue, control.HorizontalScroll.
Value
);
1205
Assert.Equal(expectedVValue, control.VerticalScroll.
Value
);
1237
Assert.Equal(expectedHValue, control.HorizontalScroll.
Value
);
1240
Assert.Equal(expectedVValue, control.VerticalScroll.
Value
);
1314
Assert.Equal(expectedHValue, control.HorizontalScroll.
Value
);
1317
Assert.Equal(expectedVValue, control.VerticalScroll.
Value
);
System\Windows\Forms\ScrollPropertiesTests.cs (20)
25
Assert.Equal(0, properties.
Value
);
242
Assert.Equal(0, properties.
Value
);
250
Assert.Equal(0, properties.
Value
);
265
Assert.Equal(0, properties.
Value
);
273
Assert.Equal(0, properties.
Value
);
290
Assert.Equal(5, properties.
Value
);
305
Assert.Equal(-1, properties.
Value
);
325
Assert.Equal(0, properties.
Value
);
348
Assert.Equal(5, properties.
Value
);
356
Assert.Equal(5, properties.
Value
);
373
Assert.Equal(12, properties.
Value
);
393
Assert.Equal(0, properties.
Value
);
409
Assert.Equal(5, properties.
Value
);
417
Assert.Equal(5, properties.
Value
);
449
Assert.Equal(value, properties.
Value
);
457
Assert.Equal(value, properties.
Value
);
478
Assert.Equal(value, properties.
Value
);
493
Assert.Equal(value, properties.
Value
);
501
Assert.Equal(value, properties.
Value
);
514
Assert.Equal(0, properties.
Value
);
System\Windows\Forms\VScrollPropertiesTests.cs (1)
26
Assert.Equal(0, properties.
Value
);