116 references to DataGridViewAutoSizeColumnCriteriaInternal
System.Windows.Forms (116)
winforms\Managed\System\WinForms\DataGridViewAutoSizeEnums.cs (19)
62
AllCells =
DataGridViewAutoSizeColumnCriteriaInternal
.Header |
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows,
65
AllCellsExceptHeader =
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows,
68
DisplayedCells =
DataGridViewAutoSizeColumnCriteriaInternal
.Header |
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows,
71
DisplayedCellsExceptHeader =
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows,
74
None =
DataGridViewAutoSizeColumnCriteriaInternal
.None,
77
ColumnHeader =
DataGridViewAutoSizeColumnCriteriaInternal
.Header,
80
Fill =
DataGridViewAutoSizeColumnCriteriaInternal
.Fill
90
NotSet =
DataGridViewAutoSizeColumnCriteriaInternal
.NotSet,
93
None =
DataGridViewAutoSizeColumnCriteriaInternal
.None,
96
AllCells =
DataGridViewAutoSizeColumnCriteriaInternal
.Header |
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows,
99
AllCellsExceptHeader =
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows,
102
DisplayedCells =
DataGridViewAutoSizeColumnCriteriaInternal
.Header |
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows,
105
DisplayedCellsExceptHeader =
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows,
108
ColumnHeader =
DataGridViewAutoSizeColumnCriteriaInternal
.Header,
111
Fill =
DataGridViewAutoSizeColumnCriteriaInternal
.Fill
winforms\Managed\System\WinForms\DataGridViewColumn.cs (13)
1232
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaInternal = (
DataGridViewAutoSizeColumnCriteriaInternal
) autoSizeColumnMode;
1233
Debug.Assert(autoSizeColumnCriteriaInternal ==
DataGridViewAutoSizeColumnCriteriaInternal
.Header ||
1234
autoSizeColumnCriteriaInternal ==
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows ||
1235
autoSizeColumnCriteriaInternal ==
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows ||
1236
autoSizeColumnCriteriaInternal == (
DataGridViewAutoSizeColumnCriteriaInternal
.Header |
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows) ||
1237
autoSizeColumnCriteriaInternal == (
DataGridViewAutoSizeColumnCriteriaInternal
.Header |
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows));
1241
Debug.Assert(dataGridView.ColumnHeadersVisible || autoSizeColumnCriteriaInternal !=
DataGridViewAutoSizeColumnCriteriaInternal
.Header);
1245
(autoSizeColumnCriteriaInternal &
DataGridViewAutoSizeColumnCriteriaInternal
.Header) != 0)
1260
if ((autoSizeColumnCriteriaInternal &
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows) != 0)
1281
else if ((autoSizeColumnCriteriaInternal &
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows) != 0)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (81)
353
private bool AdjustExpandingColumns(
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaFilter, int rowIndex)
355
Debug.Assert(autoSizeColumnCriteriaFilter !=
DataGridViewAutoSizeColumnCriteriaInternal
.None);
356
Debug.Assert((autoSizeColumnCriteriaFilter &
DataGridViewAutoSizeColumnCriteriaInternal
.Fill) == 0);
362
DataGridViewAutoSizeColumnCriteriaInternal
inheritedAutoSizeColumnCriteria = (
DataGridViewAutoSizeColumnCriteriaInternal
)dataGridViewColumn.InheritedAutoSizeMode;
363
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaFiltered = (inheritedAutoSizeColumnCriteria & autoSizeColumnCriteriaFilter);
1635
private bool AutoResizeAllVisibleColumnsInternal(
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaFilter, bool fixedHeight)
1637
Debug.Assert(autoSizeColumnCriteriaFilter !=
DataGridViewAutoSizeColumnCriteriaInternal
.None);
1638
Debug.Assert((autoSizeColumnCriteriaFilter &
DataGridViewAutoSizeColumnCriteriaInternal
.Fill) == 0);
1644
DataGridViewAutoSizeColumnCriteriaInternal
inheritedAutoSizeColumnCriteria = (
DataGridViewAutoSizeColumnCriteriaInternal
) dataGridViewColumn.InheritedAutoSizeMode;
1645
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaFiltered = (inheritedAutoSizeColumnCriteria & autoSizeColumnCriteriaFilter);
1704
AutoResizeColumnInternal(columnIndex, (
DataGridViewAutoSizeColumnCriteriaInternal
) autoSizeColumnMode, fixedHeight);
1860
private bool AutoResizeColumnInternal(int columnIndex,
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaInternal, bool fixedHeight)
1862
Debug.Assert(autoSizeColumnCriteriaInternal ==
DataGridViewAutoSizeColumnCriteriaInternal
.Header ||
1863
autoSizeColumnCriteriaInternal ==
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows ||
1864
autoSizeColumnCriteriaInternal ==
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows ||
1865
autoSizeColumnCriteriaInternal == (
DataGridViewAutoSizeColumnCriteriaInternal
.Header |
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows) ||
1866
autoSizeColumnCriteriaInternal == (
DataGridViewAutoSizeColumnCriteriaInternal
.Header |
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows));
1868
Debug.Assert(autoSizeColumnCriteriaInternal !=
DataGridViewAutoSizeColumnCriteriaInternal
.Header || this.ColumnHeadersVisible);
10744
AutoResizeColumnInternal(dataGridViewColumn.Index, (
DataGridViewAutoSizeColumnCriteriaInternal
)autoSizeColumnMode, true /*fixedHeight*/);
10820
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaFilter =
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows;
10823
autoSizeColumnCriteriaFilter |=
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows;
11379
(
DataGridViewAutoSizeColumnCriteriaInternal
) autoSizeColumnMode,
11405
(
DataGridViewAutoSizeColumnCriteriaInternal
)autoSizeColumnMode,
11458
(
DataGridViewAutoSizeColumnCriteriaInternal
)autoSizeColumnMode,
11491
(
DataGridViewAutoSizeColumnCriteriaInternal
)autoSizeColumnMode,
11813
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaInternal = (
DataGridViewAutoSizeColumnCriteriaInternal
)this.Columns[columnIndex].InheritedAutoSizeMode;
11814
bool autoSizeColumn = (autoSizeColumnCriteriaInternal &
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows) != 0;
11817
autoSizeColumn |= (autoSizeColumnCriteriaInternal &
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows) != 0;
13312
AutoResizeAllVisibleColumnsInternal(
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows |
13313
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows,
13949
AutoResizeColumnInternal(e.ColumnIndex,
DataGridViewAutoSizeColumnCriteriaInternal
.Header |
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows, true /*fixedHeight*/);
13953
AutoResizeColumnInternal(e.ColumnIndex, (
DataGridViewAutoSizeColumnCriteriaInternal
)inheritedAutoSizeMode, true /*fixedHeight*/);
14019
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaInternal = (
DataGridViewAutoSizeColumnCriteriaInternal
)this.Columns[columnIndex].InheritedAutoSizeMode;
14020
if (autoSizeColumnCriteriaInternal !=
DataGridViewAutoSizeColumnCriteriaInternal
.None &&
14021
autoSizeColumnCriteriaInternal !=
DataGridViewAutoSizeColumnCriteriaInternal
.Fill)
14036
autoSizeColumnCriteriaInternal !=
DataGridViewAutoSizeColumnCriteriaInternal
.None &&
14037
autoSizeColumnCriteriaInternal !=
DataGridViewAutoSizeColumnCriteriaInternal
.Fill)
14075
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaInternal = (
DataGridViewAutoSizeColumnCriteriaInternal
)this.Columns[columnIndex].InheritedAutoSizeMode;
14076
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaFiltered = autoSizeColumnCriteriaInternal &
DataGridViewAutoSizeColumnCriteriaInternal
.Header;
14086
Debug.Assert(autoSizeColumnCriteriaInternal !=
DataGridViewAutoSizeColumnCriteriaInternal
.None);
14087
Debug.Assert(autoSizeColumnCriteriaInternal !=
DataGridViewAutoSizeColumnCriteriaInternal
.Fill);
14406
bool columnAutoSized = AutoResizeAllVisibleColumnsInternal(
DataGridViewAutoSizeColumnCriteriaInternal
.Header, false /*fixedHeight*/);
14427
AutoResizeAllVisibleColumnsInternal(
DataGridViewAutoSizeColumnCriteriaInternal
.Header, true /*fixedHeight*/);
14545
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaInternal = (
DataGridViewAutoSizeColumnCriteriaInternal
) dataGridViewColumn.InheritedAutoSizeMode;
14546
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaFiltered = autoSizeColumnCriteriaInternal &
DataGridViewAutoSizeColumnCriteriaInternal
.Header;
14708
bool columnAutoSized = AutoResizeAllVisibleColumnsInternal(
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows |
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows, fixedHeight);
14717
AutoResizeAllVisibleColumnsInternal(
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows |
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows, true /*fixedHeight*/);
14747
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaInternal = (
DataGridViewAutoSizeColumnCriteriaInternal
) dataGridViewColumn.InheritedAutoSizeMode;
14748
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaFiltered = autoSizeColumnCriteriaInternal &
DataGridViewAutoSizeColumnCriteriaInternal
.Header;
14859
AutoResizeColumnInternal(dataGridViewColumn.Index, (
DataGridViewAutoSizeColumnCriteriaInternal
)autoSizeColumnMode, !autoSizeRows /*fixedHeight*/);
14882
AutoResizeColumnInternal(dataGridViewColumn.Index, (
DataGridViewAutoSizeColumnCriteriaInternal
)autoSizeColumnMode, true /*fixedHeight*/);
15667
AutoResizeAllVisibleColumnsInternal(
DataGridViewAutoSizeColumnCriteriaInternal
.Header |
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows |
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows, true /*fixedHeight*/);
17437
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaFilter =
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows;
17440
autoSizeColumnCriteriaFilter |=
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows;
18281
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaFilter =
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows;
18284
autoSizeColumnCriteriaFilter |=
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows;
19050
AutoResizeAllVisibleColumnsInternal(
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows |
19051
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows,
19182
DataGridViewAutoSizeColumnCriteriaInternal
autoSizeColumnCriteriaFilter =
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows;
19185
autoSizeColumnCriteriaFilter |=
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows;
winforms\Managed\System\WinForms\DataGridViewRow.cs (3)
1423
((((
DataGridViewAutoSizeColumnCriteriaInternal
) dataGridViewColumn.InheritedAutoSizeMode) & (
DataGridViewAutoSizeColumnCriteriaInternal
.AllRows |
DataGridViewAutoSizeColumnCriteriaInternal
.DisplayedRows)) == 0))