2 writes to _scrollBar
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
493_scrollBar = new VScrollBar(); 989_scrollBar = null;
17 references to _scrollBar
System.Windows.Forms (17)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (17)
489if (_scrollBar is null) 494_scrollBar.Scroll += OnScroll; 495Controls.Add(_scrollBar); 498return _scrollBar; 985_scrollBar?.Dispose(); 1787if (_scrollBar is null) 1973private bool GetScrollbarHidden() => _scrollBar is null || !ScrollBar.Visible; 1994if (_scrollBar is not null) 3211Debug.Assert(_scrollBar is not null); 3213int large = fullNotches * _scrollBar.LargeChange; 3217initialOffset -= fullNotches * _scrollBar.LargeChange; 3218if (Math.Abs(initialOffset - originalOffset) >= Math.Abs(fullNotches * _scrollBar.LargeChange)) 3252if (_scrollBar!.Value <= _scrollBar.Minimum) 3263if (_scrollBar!.Value > (_scrollBar.Maximum - _visibleRows + 1)) 4794_scrollBar?.ReleaseUiaProvider(HWND.Null);