22 references to ScrollBar
System.Windows.Forms (22)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (19)
1797
int pos =
ScrollBar
.Value;
1899
Size sizeScroll =
ScrollBar
.Size;
1978
private bool GetScrollbarHidden() => _scrollBar is null || !
ScrollBar
.Visible;
2001
Rectangle boundsScroll =
ScrollBar
.Bounds;
2005
ScrollBar
.Bounds = boundsScroll;
2097
if (newValue ==
ScrollBar
.Value
2099
|| newValue >
ScrollBar
.Maximum
2100
|| (newValue + (
ScrollBar
.LargeChange - 1) >= TotalProperties))
3669
e.NewValue =
ScrollBar
.Value;
3680
ScrollBar
.Value = e.NewValue;
3685
SelectGridEntry(oldGridEntry, pageIn:
ScrollBar
.Value == TotalProperties);
4284
if (newOffset >=
ScrollBar
.Minimum && newOffset <
ScrollBar
.Maximum)
4594
int oldPosition =
ScrollBar
.Value;
4597
ScrollBar
.Value = newPosition;
4857
bool hidden = !
ScrollBar
.Visible;
4860
ScrollBar
.LargeChange = _visibleRows - 1;
4865
ScrollBar
.Maximum = Math.Max(0, TotalProperties - 1);
4869
ScrollBar
.Visible = hidden;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridPositionData.cs (3)
34
if (delta != 0 && gridView.
ScrollBar
.Visible)
44
else if (delta > gridView.
ScrollBar
.Maximum)
46
delta = gridView.
ScrollBar
.Maximum - 1;