53 references to Value
PresentationFramework (53)
System\Windows\Controls\DataGridColumn.cs (7)
271
column.SetWidthInternal(new DataGridLength(changedWidth.
Value
, changedWidth.UnitType, changedWidth.DesiredValue, displayValue));
397
double newDesiredValue = CoerceDesiredOrDisplayWidthValue(width.
Value
, width.DesiredValue, width.UnitType);
398
double newDisplayValue = CoerceDesiredOrDisplayWidthValue(width.
Value
, width.DisplayValue, width.UnitType);
406
width.
Value
,
558
SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, pixelWidth, displayWidth));
563
SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, pixelWidth, width.DisplayValue));
597
!DoubleUtil.AreClose(width.
Value
, starValue))
System\Windows\Controls\DataGridColumnCollection.cs (37)
809
if (!DoubleUtil.AreClose(width.
Value
, 0.0) &&
812
perStarWidth = width.DesiredValue / width.
Value
;
915
totalFactors += width.
Value
;
943
double starColumnWidth = availableStarSpace * width.
Value
/ totalFactors;
948
totalFactors -= width.
Value
;
966
double starColumnWidth = availableStarSpace * width.
Value
/ totalFactors;
974
totalFactors -= width.
Value
;
975
column.UpdateWidthForStarColumn(columnMaxWidth, starValue * width.
Value
, width.
Value
);
994
totalFactors += column.Width.
Value
;
1006
column.UpdateWidthForStarColumn(columnMinWidth, width.
Value
* starValue, width.
Value
);
1015
double starColumnWidth = availableStarSpace * width.
Value
/ totalFactors;
1016
column.UpdateWidthForStarColumn(starColumnWidth, width.
Value
* starValue, width.
Value
);
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)));
1382
width.
Value
,
1613
if (width.IsStar && !DoubleUtil.AreClose(width.
Value
, 0.0))
1617
rightStarFactors += width.
Value
;
1618
double excessRatio = (width.DisplayValue - column.MinWidth) / width.
Value
;
1667
double columnDesiredWidth = width.DisplayValue - (width.
Value
* changePerStar);
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));
1863
if (width.IsStar && !DoubleUtil.AreClose(width.
Value
, 0.0))
1867
rightStarFactors += width.
Value
;
1868
double lagRatio = (column.MaxWidth - width.DisplayValue) / width.
Value
;
1916
double columnDesiredWidth = width.DisplayValue + (width.
Value
* changePerStar);
1934
double starValue = width.DesiredValue / width.
Value
;
1939
column.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, width.DesiredValue, 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)
129
&& gl1.
Value
== gl2.
Value
144
|| gl1.
Value
!= gl2.
Value
System\Windows\Controls\DataGridLengthConverter.cs (4)
143
return new InstanceDescriptor(ci, new object[] { length.
Value
, length.UnitType });
168
return DoubleUtil.IsOne(length.
Value
) ? "*" : $"{Convert.ToString(length.
Value
, cultureInfo)}*";
172
return Convert.ToString(length.
Value
, cultureInfo);