60 references to DataGridViewAutoSizeRowsMode
System.Windows.Forms (59)
winforms\Managed\System\WinForms\DataGridView.cs (17)
342
private
DataGridViewAutoSizeRowsMode
autoSizeRowsMode;
485
this.autoSizeRowsMode =
DataGridViewAutoSizeRowsMode
.None;
1176
DefaultValue(
DataGridViewAutoSizeRowsMode
.None),
1180
public
DataGridViewAutoSizeRowsMode
AutoSizeRowsMode
1190
case
DataGridViewAutoSizeRowsMode
.None:
1191
case
DataGridViewAutoSizeRowsMode
.AllHeaders:
1192
case
DataGridViewAutoSizeRowsMode
.AllCellsExceptHeaders:
1193
case
DataGridViewAutoSizeRowsMode
.AllCells:
1194
case
DataGridViewAutoSizeRowsMode
.DisplayedHeaders:
1195
case
DataGridViewAutoSizeRowsMode
.DisplayedCellsExceptHeaders:
1196
case
DataGridViewAutoSizeRowsMode
.DisplayedCells:
1199
throw new InvalidEnumArgumentException("value", (int)value, typeof(
DataGridViewAutoSizeRowsMode
));
1201
if ((value ==
DataGridViewAutoSizeRowsMode
.AllHeaders || value ==
DataGridViewAutoSizeRowsMode
.DisplayedHeaders) &&
1208
DataGridViewAutoSizeModeEventArgs dgvasme = new DataGridViewAutoSizeModeEventArgs(this.autoSizeRowsMode !=
DataGridViewAutoSizeRowsMode
.None);
4272
(this.autoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.AllHeaders || this.autoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.DisplayedHeaders))
winforms\Managed\System\WinForms\DataGridViewBand.cs (2)
793
if (this.DataGridView != null && this.DataGridView.AutoSizeRowsMode !=
DataGridViewAutoSizeRowsMode
.None)
961
this.DataGridView.AutoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.None)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (40)
379
Debug.Assert(this.autoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.DisplayedHeaders ||
380
this.autoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.DisplayedCellsExceptHeaders ||
381
this.autoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.DisplayedCells);
429
Debug.Assert(this.autoSizeRowsMode !=
DataGridViewAutoSizeRowsMode
.None);
1278
private void AdjustShrinkingRows(
DataGridViewAutoSizeRowsMode
autoSizeRowsMode, bool fixedWidth, bool internalAutosizing)
2329
if (this.autoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.None)
2359
AutoResizeRows(
DataGridViewAutoSizeRowsMode
.AllCells);
2363
public void AutoResizeRows(
DataGridViewAutoSizeRowsMode
autoSizeRowsMode)
2369
protected void AutoResizeRows(
DataGridViewAutoSizeRowsMode
autoSizeRowsMode, bool fixedWidth)
2373
case
DataGridViewAutoSizeRowsMode
.None:
2374
case
DataGridViewAutoSizeRowsMode
.AllHeaders:
2375
case
DataGridViewAutoSizeRowsMode
.AllCellsExceptHeaders:
2376
case
DataGridViewAutoSizeRowsMode
.AllCells:
2377
case
DataGridViewAutoSizeRowsMode
.DisplayedHeaders:
2378
case
DataGridViewAutoSizeRowsMode
.DisplayedCellsExceptHeaders:
2379
case
DataGridViewAutoSizeRowsMode
.DisplayedCells:
2382
throw new InvalidEnumArgumentException("value", (int)autoSizeRowsMode, typeof(
DataGridViewAutoSizeRowsMode
));
2385
if (autoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.None)
2390
if ((autoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.AllHeaders || autoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.DisplayedHeaders) &&
6368
Debug.Assert(this.autoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.None);
9568
if (RowIsResizable(hti.row) && this.AutoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.None)
9584
if (RowIsResizable(indexTmp) && this.AutoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.None)
9729
if (RowIsResizable(hti.row) && this.AutoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.None)
9745
if (RowIsResizable(indexTmp) && this.AutoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.None)
10585
private static DataGridViewAutoSizeRowMode MapAutoSizeRowsModeToRowMode(
DataGridViewAutoSizeRowsMode
autoSizeRowsMode)
10589
case
DataGridViewAutoSizeRowsMode
.AllHeaders:
10591
case
DataGridViewAutoSizeRowsMode
.DisplayedHeaders:
10593
case
DataGridViewAutoSizeRowsMode
.AllCellsExceptHeaders:
10595
case
DataGridViewAutoSizeRowsMode
.DisplayedCellsExceptHeaders:
10597
case
DataGridViewAutoSizeRowsMode
.AllCells:
10599
case
DataGridViewAutoSizeRowsMode
.DisplayedCells:
11507
if (this.autoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.None)
15657
this.autoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.None /*fixedRowsHeight*/);
15663
if (this.autoSizeRowsMode !=
DataGridViewAutoSizeRowsMode
.None)
15670
(this.ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.AutoSize || this.autoSizeRowsMode !=
DataGridViewAutoSizeRowsMode
.None))
15680
if (this.autoSizeRowsMode !=
DataGridViewAutoSizeRowsMode
.None)
17431
if (this.autoSizeRowsMode !=
DataGridViewAutoSizeRowsMode
.None && dataGridViewRow.ThicknessInternal != dataGridViewRow.CachedThickness)
18083
if (this.autoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.None)
18796
Debug.Assert(this.autoSizeRowsMode ==
DataGridViewAutoSizeRowsMode
.None);
System.WorkflowServices (1)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.designer.cs (1)
85
this.parametersGrid.AutoSizeRowsMode = System.Windows.Forms.
DataGridViewAutoSizeRowsMode
.AllCells;