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