2 writes to _scrollBars
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
454_scrollBars = ScrollBars.Both; 3609_scrollBars = value;
8 references to _scrollBars
System.Windows.Forms (8)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
3583get => _scrollBars; 3589if (_scrollBars != value)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (6)
927if (_scrollBars is ScrollBars.Both or ScrollBars.Vertical) 8979bool allowHorizScrollbar = _scrollBars is ScrollBars.Both or ScrollBars.Horizontal; 8980bool allowVertScrollbar = _scrollBars is ScrollBars.Both or ScrollBars.Vertical; 10147bool allowHorizScrollbar = ((_scrollBars == ScrollBars.Both) || (_scrollBars == ScrollBars.Horizontal)) 10149bool allowVertScrollbar = _scrollBars is ScrollBars.Both or ScrollBars.Vertical;