22 references to ScrollBar
System.Windows.Forms (22)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (19)
1791int pos = ScrollBar.Value; 1893Size sizeScroll = ScrollBar.Size; 1972private bool GetScrollbarHidden() => _scrollBar is null || !ScrollBar.Visible; 1995Rectangle boundsScroll = ScrollBar.Bounds; 1999ScrollBar.Bounds = boundsScroll; 2091if (newValue == ScrollBar.Value 2093|| newValue > ScrollBar.Maximum 2094|| (newValue + (ScrollBar.LargeChange - 1) >= TotalProperties)) 3657e.NewValue = ScrollBar.Value; 3668ScrollBar.Value = e.NewValue; 3673SelectGridEntry(oldGridEntry, pageIn: ScrollBar.Value == TotalProperties); 4272if (newOffset >= ScrollBar.Minimum && newOffset < ScrollBar.Maximum) 4582int oldPosition = ScrollBar.Value; 4585ScrollBar.Value = newPosition; 4845bool hidden = !ScrollBar.Visible; 4848ScrollBar.LargeChange = _visibleRows - 1; 4853ScrollBar.Maximum = Math.Max(0, TotalProperties - 1); 4857ScrollBar.Visible = hidden;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridPositionData.cs (3)
34if (delta != 0 && gridView.ScrollBar.Visible) 44else if (delta > gridView.ScrollBar.Maximum) 46delta = gridView.ScrollBar.Maximum - 1;