24 references to DataGridLength
PresentationFramework (24)
System\Windows\Controls\DataGridColumn.cs (5)
274
column.SetWidthInternal(new
DataGridLength
(changedWidth.Value, changedWidth.UnitType, changedWidth.DesiredValue, displayValue));
408
return new
DataGridLength
(
561
SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, pixelWidth, displayWidth));
566
SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, pixelWidth, width.DisplayValue));
602
SetWidthInternal(new
DataGridLength
(starValue, width.UnitType, desiredWidth, displayWidth));
System\Windows\Controls\DataGridColumnCollection.cs (14)
1197
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, displayValue));
1222
changedColumn.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, minWidth));
1241
changedColumn.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, displayValue));
1265
changedColumn.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, maxWidth));
1283
changedColumn.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, displayValue));
1314
changedColumn.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, minWidth + leftOverSpace));
1367
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, Math.Min(width.DesiredValue, maxWidth)));
1385
changedColumn.SetWidthInternal(new
DataGridLength
(
1712
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue - columnExcessWidth));
1797
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue + columnLagWidth));
1943
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, columnDisplayWidth));
1947
column.SetWidthInternal(new
DataGridLength
(columnDisplayWidth, DataGridLengthUnitType.Pixel, columnDisplayWidth, columnDisplayWidth));
2112
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue + perColumnGiveAwayWidth));
2376
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue - perColumnTakeAwayWidth));
System\Windows\Controls\DataGridHelper.cs (1)
278
column.SetWidthInternal(new
DataGridLength
(width.Value, width.UnitType, desiredWidth, width.DisplayValue));
System\Windows\Controls\DataGridLength.cs (4)
56
:
this
(value, type, (type == DataGridLengthUnitType.Pixel ? value : Double.NaN), (type == DataGridLengthUnitType.Pixel ? value : Double.NaN))
350
private static readonly DataGridLength _auto = new
DataGridLength
(AutoValue, DataGridLengthUnitType.Auto, 0d, 0d);
351
private static readonly DataGridLength _sizeToCells = new
DataGridLength
(AutoValue, DataGridLengthUnitType.SizeToCells, 0d, 0d);
352
private static readonly DataGridLength _sizeToHeader = new
DataGridLength
(AutoValue, DataGridLengthUnitType.SizeToHeader, 0d, 0d);