53 references to Value
PresentationFramework (53)
System\Windows\Controls\DataGridColumn.cs (7)
274
column.SetWidthInternal(new DataGridLength(changedWidth.
Value
, changedWidth.UnitType, changedWidth.DesiredValue, displayValue));
400
double newDesiredValue = CoerceDesiredOrDisplayWidthValue(width.
Value
, width.DesiredValue, width.UnitType);
401
double newDisplayValue = CoerceDesiredOrDisplayWidthValue(width.
Value
, width.DisplayValue, width.UnitType);
409
width.
Value
,
561
SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, pixelWidth, displayWidth));
566
SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, pixelWidth, width.DisplayValue));
600
!DoubleUtil.AreClose(width.
Value
, starValue))
System\Windows\Controls\DataGridColumnCollection.cs (37)
813
if (!DoubleUtil.AreClose(width.
Value
, 0.0) &&
816
perStarWidth = width.DesiredValue / width.
Value
;
919
totalFactors += width.
Value
;
947
double starColumnWidth = availableStarSpace * width.
Value
/ totalFactors;
952
totalFactors -= width.
Value
;
970
double starColumnWidth = availableStarSpace * width.
Value
/ totalFactors;
978
totalFactors -= width.
Value
;
979
column.UpdateWidthForStarColumn(columnMaxWidth, starValue * width.
Value
, width.
Value
);
998
totalFactors += column.Width.
Value
;
1010
column.UpdateWidthForStarColumn(columnMinWidth, width.
Value
* starValue, width.
Value
);
1019
double starColumnWidth = availableStarSpace * width.
Value
/ totalFactors;
1020
column.UpdateWidthForStarColumn(starColumnWidth, width.
Value
* starValue, width.
Value
);
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)));
1386
width.
Value
,
1617
if (width.IsStar && !DoubleUtil.AreClose(width.
Value
, 0.0))
1621
rightStarFactors += width.
Value
;
1622
double excessRatio = (width.DisplayValue - column.MinWidth) / width.
Value
;
1671
double columnDesiredWidth = width.DisplayValue - (width.
Value
* changePerStar);
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));
1867
if (width.IsStar && !DoubleUtil.AreClose(width.
Value
, 0.0))
1871
rightStarFactors += width.
Value
;
1872
double lagRatio = (column.MaxWidth - width.DisplayValue) / width.
Value
;
1920
double columnDesiredWidth = width.DisplayValue + (width.
Value
* changePerStar);
1938
double starValue = width.DesiredValue / width.
Value
;
1943
column.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, width.DesiredValue, 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)
132
&& gl1.
Value
== gl2.
Value
147
|| gl1.
Value
!= gl2.
Value
System\Windows\Controls\DataGridLengthConverter.cs (4)
147
return new InstanceDescriptor(ci, new object[] { length.
Value
, length.UnitType });
172
return DoubleUtil.IsOne(length.
Value
) ? "*" : $"{Convert.ToString(length.
Value
, cultureInfo)}*";
176
return Convert.ToString(length.
Value
, cultureInfo);