5 references to GetColumnCount
System.Windows.Forms (5)
winforms\Managed\System\WinForms\DataGridView.cs (2)
3460
scrollEventType = this.Columns.
GetColumnCount
(DataGridViewElementStates.Visible, oldFirstVisibleScrollingCol, this.displayedBandsInfo.FirstDisplayedScrollingCol) > 1 ? ScrollEventType.LargeIncrement : ScrollEventType.SmallIncrement;
3465
scrollEventType = this.Columns.
GetColumnCount
(DataGridViewElementStates.Visible, this.displayedBandsInfo.FirstDisplayedScrollingCol, oldFirstVisibleScrollingCol) > 1 ? ScrollEventType.LargeDecrement : ScrollEventType.SmallDecrement;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
3666
return this.Columns.
GetColumnCount
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen, firstVisibleFrozenColumn.Index, dataGridViewColumn.Index) < this.displayedBandsInfo.NumDisplayedFrozenCols;
3679
return this.Columns.
GetColumnCount
(DataGridViewElementStates.Visible, firstDisplayedScrollingColumnIndex, dataGridViewColumn.Index) < this.displayedBandsInfo.NumDisplayedScrollingCols;
26141
columnsToScroll = this.Columns.
GetColumnCount
(DataGridViewElementStates.Visible, columnIndex, this.displayedBandsInfo.FirstDisplayedScrollingCol);