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