22 references to ScrollBar
System.Windows.Forms (22)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (19)
1792int pos = ScrollBar.Value; 1894Size sizeScroll = ScrollBar.Size; 1973private bool GetScrollbarHidden() => _scrollBar is null || !ScrollBar.Visible; 1996Rectangle boundsScroll = ScrollBar.Bounds; 2000ScrollBar.Bounds = boundsScroll; 2092if (newValue == ScrollBar.Value 2094|| newValue > ScrollBar.Maximum 2095|| (newValue + (ScrollBar.LargeChange - 1) >= TotalProperties)) 3658e.NewValue = ScrollBar.Value; 3669ScrollBar.Value = e.NewValue; 3674SelectGridEntry(oldGridEntry, pageIn: ScrollBar.Value == TotalProperties); 4273if (newOffset >= ScrollBar.Minimum && newOffset < ScrollBar.Maximum) 4583int oldPosition = ScrollBar.Value; 4586ScrollBar.Value = newPosition; 4846bool hidden = !ScrollBar.Visible; 4849ScrollBar.LargeChange = _visibleRows - 1; 4854ScrollBar.Maximum = Math.Max(0, TotalProperties - 1); 4858ScrollBar.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;