24 references to DataGridLength
PresentationFramework (24)
System\Windows\Controls\DataGridColumn.cs (5)
271
column.SetWidthInternal(new
DataGridLength
(changedWidth.Value, changedWidth.UnitType, changedWidth.DesiredValue, displayValue));
405
return new
DataGridLength
(
558
SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, pixelWidth, displayWidth));
563
SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, pixelWidth, width.DisplayValue));
599
SetWidthInternal(new
DataGridLength
(starValue, width.UnitType, desiredWidth, displayWidth));
System\Windows\Controls\DataGridColumnCollection.cs (14)
1193
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, displayValue));
1218
changedColumn.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, minWidth));
1237
changedColumn.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, displayValue));
1261
changedColumn.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, maxWidth));
1279
changedColumn.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, displayValue));
1310
changedColumn.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, minWidth + leftOverSpace));
1363
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, Math.Min(width.DesiredValue, maxWidth)));
1381
changedColumn.SetWidthInternal(new
DataGridLength
(
1708
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue - columnExcessWidth));
1793
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue + columnLagWidth));
1939
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, columnDisplayWidth));
1943
column.SetWidthInternal(new
DataGridLength
(columnDisplayWidth, DataGridLengthUnitType.Pixel, columnDisplayWidth, columnDisplayWidth));
2108
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue + perColumnGiveAwayWidth));
2372
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue - perColumnTakeAwayWidth));
System\Windows\Controls\DataGridHelper.cs (1)
272
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, desiredWidth, width.DisplayValue));
System\Windows\Controls\DataGridLength.cs (4)
53
:
this
(value, type, (type == DataGridLengthUnitType.Pixel ? value : Double.NaN), (type == DataGridLengthUnitType.Pixel ? value : Double.NaN))
346
private static readonly DataGridLength _auto = new
DataGridLength
(AutoValue, DataGridLengthUnitType.Auto, 0d, 0d);
347
private static readonly DataGridLength _sizeToCells = new
DataGridLength
(AutoValue, DataGridLengthUnitType.SizeToCells, 0d, 0d);
348
private static readonly DataGridLength _sizeToHeader = new
DataGridLength
(AutoValue, DataGridLengthUnitType.SizeToHeader, 0d, 0d);