29 references to GetScrollState
System.Windows.Forms.Tests (29)
System\Windows\Forms\ScrollableControlTests.cs (29)
255Assert.Equal(value, control.GetScrollState(SubScrollableControl.ScrollStateAutoScrolling)); 262Assert.Equal(value, control.GetScrollState(SubScrollableControl.ScrollStateAutoScrolling)); 269Assert.Equal(!value, control.GetScrollState(SubScrollableControl.ScrollStateAutoScrolling)); 298Assert.Equal(value, control.GetScrollState(SubScrollableControl.ScrollStateAutoScrolling)); 308Assert.Equal(value, control.GetScrollState(SubScrollableControl.ScrollStateAutoScrolling)); 318Assert.Equal(!value, control.GetScrollState(SubScrollableControl.ScrollStateAutoScrolling)); 732Assert.Equal(value, control.GetScrollState(SubScrollableControl.ScrollStateHScrollVisible)); 738Assert.Equal(value, control.GetScrollState(SubScrollableControl.ScrollStateHScrollVisible)); 744Assert.Equal(!value, control.GetScrollState(SubScrollableControl.ScrollStateHScrollVisible)); 763Assert.Equal(value, control.GetScrollState(SubScrollableControl.ScrollStateHScrollVisible)); 772Assert.Equal(value, control.GetScrollState(SubScrollableControl.ScrollStateHScrollVisible)); 781Assert.Equal(!value, control.GetScrollState(SubScrollableControl.ScrollStateHScrollVisible)); 894Assert.Equal(value, control.GetScrollState(SubScrollableControl.ScrollStateVScrollVisible)); 900Assert.Equal(value, control.GetScrollState(SubScrollableControl.ScrollStateVScrollVisible)); 906Assert.Equal(!value, control.GetScrollState(SubScrollableControl.ScrollStateVScrollVisible)); 925Assert.Equal(value, control.GetScrollState(SubScrollableControl.ScrollStateVScrollVisible)); 934Assert.Equal(value, control.GetScrollState(SubScrollableControl.ScrollStateVScrollVisible)); 943Assert.Equal(!value, control.GetScrollState(SubScrollableControl.ScrollStateVScrollVisible)); 1042Assert.False(control.GetScrollState(SubScrollableControl.ScrollStateUserHasScrolled)); 1067Assert.False(control.GetScrollState(SubScrollableControl.ScrollStateUserHasScrolled)); 1134Assert.False(control.GetScrollState(SubScrollableControl.ScrollStateUserHasScrolled)); 1207Assert.False(control.GetScrollState(SubScrollableControl.ScrollStateUserHasScrolled)); 1242Assert.False(control.GetScrollState(SubScrollableControl.ScrollStateUserHasScrolled)); 1319Assert.False(control.GetScrollState(SubScrollableControl.ScrollStateUserHasScrolled)); 1345Assert.Equal(expected, control.GetScrollState(bit)); 2440Assert.Equal(expected, control.GetScrollState(bit)); 2445Assert.Equal(expected, control.GetScrollState(bit)); 2463Assert.Equal(expected, control.GetScrollState(bit)); 2471Assert.Equal(expected, control.GetScrollState(bit));