53 references to Value
PresentationFramework (53)
src\Framework\System\Windows\Controls\DataGridColumn.cs (7)
275
column.SetWidthInternal(new DataGridLength(changedWidth.
Value
, changedWidth.UnitType, changedWidth.DesiredValue, displayValue));
401
double newDesiredValue = CoerceDesiredOrDisplayWidthValue(width.
Value
, width.DesiredValue, width.UnitType);
402
double newDisplayValue = CoerceDesiredOrDisplayWidthValue(width.
Value
, width.DisplayValue, width.UnitType);
410
width.
Value
,
562
SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, pixelWidth, displayWidth));
567
SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, pixelWidth, width.DisplayValue));
601
!DoubleUtil.AreClose(width.
Value
, starValue))
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (37)
815
if (!DoubleUtil.AreClose(width.
Value
, 0.0) &&
818
perStarWidth = width.DesiredValue / width.
Value
;
921
totalFactors += width.
Value
;
949
double starColumnWidth = availableStarSpace * width.
Value
/ totalFactors;
954
totalFactors -= width.
Value
;
972
double starColumnWidth = availableStarSpace * width.
Value
/ totalFactors;
980
totalFactors -= width.
Value
;
981
column.UpdateWidthForStarColumn(columnMaxWidth, starValue * width.
Value
, width.
Value
);
1000
totalFactors += column.Width.
Value
;
1012
column.UpdateWidthForStarColumn(columnMinWidth, width.
Value
* starValue, width.
Value
);
1021
double starColumnWidth = availableStarSpace * width.
Value
/ totalFactors;
1022
column.UpdateWidthForStarColumn(starColumnWidth, width.
Value
* starValue, width.
Value
);
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)));
1388
width.
Value
,
1619
if (width.IsStar && !DoubleUtil.AreClose(width.
Value
, 0.0))
1623
rightStarFactors += width.
Value
;
1624
double excessRatio = (width.DisplayValue - column.MinWidth) / width.
Value
;
1673
double columnDesiredWidth = width.DisplayValue - (width.
Value
* changePerStar);
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));
1869
if (width.IsStar && !DoubleUtil.AreClose(width.
Value
, 0.0))
1873
rightStarFactors += width.
Value
;
1874
double lagRatio = (column.MaxWidth - width.DisplayValue) / width.
Value
;
1922
double columnDesiredWidth = width.DisplayValue + (width.
Value
* changePerStar);
1940
double starValue = width.DesiredValue / width.
Value
;
1945
column.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, width.DesiredValue, 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)
133
&& gl1.
Value
== gl2.
Value
148
|| gl1.
Value
!= gl2.
Value
src\Framework\System\Windows\Controls\DataGridLengthConverter.cs (4)
156
return new InstanceDescriptor(ci, new object[] { length.
Value
, length.UnitType });
181
return DoubleUtil.IsOne(length.
Value
) ? "*" : Convert.ToString(length.
Value
, cultureInfo) + "*";
185
return Convert.ToString(length.
Value
, cultureInfo);