17 references to GetColumnsWidth
System.Windows.Forms (17)
winforms\Managed\System\WinForms\DataGridView.cs (5)
3118
int totalVisibleFrozenWidth = this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
3148
int maxHorizontalOffset = this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible) - displayWidth;
3388
int widthNotVisible = this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible) - this.layout.Data.Width;
3407
int totalVisibleFrozenWidth = this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
3514
else if (value > 0 && (this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible) - this.layout.Data.Width) <= 0)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (12)
555
if (this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible) > this.layout.Data.Width)
2485
int frozenWidth = this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
2486
int scrollingWidth = this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible) - frozenWidth;
4188
if (this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen) >= this.layout.Data.Width)
4599
Debug.Assert(cx <= this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen));
5513
int frozenVisibleColumnsWidth = this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
8646
int emptyBackgroundWidth = Math.Max(0, this.layout.Data.Width - this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible));
9080
int preferredWidth = Math.Min(minimumWidth + this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible), proposedConstraints.Width);
10338
int totalVisibleWidth = this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible);
10339
int totalVisibleFrozenWidth = this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);
19791
int visibleColumnsWidth = this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Displayed);
20373
int totalVisibleFrozenWidth = this.Columns.
GetColumnsWidth
(DataGridViewElementStates.Visible | DataGridViewElementStates.Frozen);