2 writes to _scrollBar
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
492_scrollBar = new VScrollBar(); 988_scrollBar = null;
17 references to _scrollBar
System.Windows.Forms (17)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (17)
488if (_scrollBar is null) 493_scrollBar.Scroll += OnScroll; 494Controls.Add(_scrollBar); 497return _scrollBar; 984_scrollBar?.Dispose(); 1786if (_scrollBar is null) 1972private bool GetScrollbarHidden() => _scrollBar is null || !ScrollBar.Visible; 1993if (_scrollBar is not null) 3210Debug.Assert(_scrollBar is not null); 3212int large = fullNotches * _scrollBar.LargeChange; 3216initialOffset -= fullNotches * _scrollBar.LargeChange; 3217if (Math.Abs(initialOffset - originalOffset) >= Math.Abs(fullNotches * _scrollBar.LargeChange)) 3251if (_scrollBar!.Value <= _scrollBar.Minimum) 3262if (_scrollBar!.Value > (_scrollBar.Maximum - _visibleRows + 1)) 4793_scrollBar?.ReleaseUiaProvider(HWND.Null);