24 references to DataGridLength
PresentationFramework (24)
src\Framework\System\Windows\Controls\DataGridColumn.cs (5)
275
column.SetWidthInternal(new
DataGridLength
(changedWidth.Value, changedWidth.UnitType, changedWidth.DesiredValue, displayValue));
409
return new
DataGridLength
(
562
SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, pixelWidth, displayWidth));
567
SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, pixelWidth, width.DisplayValue));
603
SetWidthInternal(new
DataGridLength
(starValue, width.UnitType, desiredWidth, displayWidth));
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (14)
1199
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, displayValue));
1224
changedColumn.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, minWidth));
1243
changedColumn.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, displayValue));
1267
changedColumn.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, maxWidth));
1285
changedColumn.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, displayValue));
1316
changedColumn.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, minWidth + leftOverSpace));
1369
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, Math.Min(width.DesiredValue, maxWidth)));
1387
changedColumn.SetWidthInternal(new
DataGridLength
(
1714
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue - columnExcessWidth));
1799
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue + columnLagWidth));
1945
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, columnDisplayWidth));
1949
column.SetWidthInternal(new
DataGridLength
(columnDisplayWidth, DataGridLengthUnitType.Pixel, columnDisplayWidth, columnDisplayWidth));
2114
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue + perColumnGiveAwayWidth));
2378
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue - perColumnTakeAwayWidth));
src\Framework\System\Windows\Controls\DataGridHelper.cs (1)
279
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, desiredWidth, width.DisplayValue));
src\Framework\System\Windows\Controls\DataGridLength.cs (4)
57
:
this
(value, type, (type == DataGridLengthUnitType.Pixel ? value : Double.NaN), (type == DataGridLengthUnitType.Pixel ? value : Double.NaN))
351
private static readonly DataGridLength _auto = new
DataGridLength
(AutoValue, DataGridLengthUnitType.Auto, 0d, 0d);
352
private static readonly DataGridLength _sizeToCells = new
DataGridLength
(AutoValue, DataGridLengthUnitType.SizeToCells, 0d, 0d);
353
private static readonly DataGridLength _sizeToHeader = new
DataGridLength
(AutoValue, DataGridLengthUnitType.SizeToHeader, 0d, 0d);