52 references to DataGridViewFreeDimension
System.Windows.Forms (52)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (5)
342
DataGridViewFreeDimension
freeDimension = DataGridViewCell.GetFreeDimensionFromConstraint(constraintSize);
366
case
DataGridViewFreeDimension
.Width:
385
case
DataGridViewFreeDimension
.Height:
421
if (freeDimension !=
DataGridViewFreeDimension
.Height)
430
if (freeDimension !=
DataGridViewFreeDimension
.Width)
winforms\Managed\System\WinForms\DataGridViewCell.cs (4)
1972
static internal
DataGridViewFreeDimension
GetFreeDimensionFromConstraint(Size constraintSize)
1982
return
DataGridViewFreeDimension
.Both;
1986
return
DataGridViewFreeDimension
.Width;
1993
return
DataGridViewFreeDimension
.Height;
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (7)
760
DataGridViewFreeDimension
freeDimension = DataGridViewCell.GetFreeDimensionFromConstraint(constraintSize);
785
case
DataGridViewFreeDimension
.Width:
790
case
DataGridViewFreeDimension
.Height:
820
case
DataGridViewFreeDimension
.Width:
825
case
DataGridViewFreeDimension
.Height:
851
if (freeDimension !=
DataGridViewFreeDimension
.Height)
856
if (freeDimension !=
DataGridViewFreeDimension
.Width)
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (7)
531
DataGridViewFreeDimension
freeDimension = DataGridViewCell.GetFreeDimensionFromConstraint(constraintSize);
549
case
DataGridViewFreeDimension
.Width:
586
case
DataGridViewFreeDimension
.Height:
686
if (freeDimension !=
DataGridViewFreeDimension
.Height)
694
if (freeDimension !=
DataGridViewFreeDimension
.Width)
701
if (freeDimension !=
DataGridViewFreeDimension
.Height)
705
if (freeDimension !=
DataGridViewFreeDimension
.Width)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (5)
1370
DataGridViewFreeDimension
freeDimension = DataGridViewCell.GetFreeDimensionFromConstraint(constraintSize);
1455
if (freeDimension ==
DataGridViewFreeDimension
.Height)
1459
else if (freeDimension ==
DataGridViewFreeDimension
.Width)
1464
if (freeDimension !=
DataGridViewFreeDimension
.Height)
1473
if (freeDimension !=
DataGridViewFreeDimension
.Width)
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (7)
478
DataGridViewFreeDimension
freeDimension = DataGridViewCell.GetFreeDimensionFromConstraint(constraintSize);
487
if (freeDimension ==
DataGridViewFreeDimension
.Height &&
522
else if (freeDimension ==
DataGridViewFreeDimension
.Width &&
571
if (freeDimension ==
DataGridViewFreeDimension
.Height)
575
else if (freeDimension ==
DataGridViewFreeDimension
.Width)
581
if (freeDimension !=
DataGridViewFreeDimension
.Height)
590
if (freeDimension !=
DataGridViewFreeDimension
.Width)
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (7)
665
DataGridViewFreeDimension
freeDimension = DataGridViewCell.GetFreeDimensionFromConstraint(constraintSize);
677
case
DataGridViewFreeDimension
.Width:
692
case
DataGridViewFreeDimension
.Height:
717
case
DataGridViewFreeDimension
.Width:
723
case
DataGridViewFreeDimension
.Height:
737
if (freeDimension !=
DataGridViewFreeDimension
.Height)
746
if (freeDimension !=
DataGridViewFreeDimension
.Width)
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (7)
440
DataGridViewFreeDimension
freeDimension = DataGridViewCell.GetFreeDimensionFromConstraint(constraintSize);
452
case
DataGridViewFreeDimension
.Width:
462
case
DataGridViewFreeDimension
.Height:
487
case
DataGridViewFreeDimension
.Width:
493
case
DataGridViewFreeDimension
.Height:
507
if (freeDimension !=
DataGridViewFreeDimension
.Height)
516
if (freeDimension !=
DataGridViewFreeDimension
.Width)
winforms\Managed\System\WinForms\DataGridViewUtilities.cs (3)
180
DataGridViewFreeDimension
freeDimension = DataGridViewCell.GetFreeDimensionFromConstraint(constraintSize);
184
case
DataGridViewFreeDimension
.Width:
218
case
DataGridViewFreeDimension
.Height: