53 references to Value
PresentationFramework (53)
System\Windows\Controls\DataGridColumn.cs (7)
270
column.SetWidthInternal(new DataGridLength(changedWidth.
Value
, changedWidth.UnitType, changedWidth.DesiredValue, displayValue));
396
double newDesiredValue = CoerceDesiredOrDisplayWidthValue(width.
Value
, width.DesiredValue, width.UnitType);
397
double newDisplayValue = CoerceDesiredOrDisplayWidthValue(width.
Value
, width.DisplayValue, width.UnitType);
405
width.
Value
,
557
SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, pixelWidth, displayWidth));
562
SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, pixelWidth, width.DisplayValue));
596
!DoubleUtil.AreClose(width.
Value
, starValue))
System\Windows\Controls\DataGridColumnCollection.cs (37)
808
if (!DoubleUtil.AreClose(width.
Value
, 0.0) &&
811
perStarWidth = width.DesiredValue / width.
Value
;
914
totalFactors += width.
Value
;
942
double starColumnWidth = availableStarSpace * width.
Value
/ totalFactors;
947
totalFactors -= width.
Value
;
965
double starColumnWidth = availableStarSpace * width.
Value
/ totalFactors;
973
totalFactors -= width.
Value
;
974
column.UpdateWidthForStarColumn(columnMaxWidth, starValue * width.
Value
, width.
Value
);
993
totalFactors += column.Width.
Value
;
1005
column.UpdateWidthForStarColumn(columnMinWidth, width.
Value
* starValue, width.
Value
);
1014
double starColumnWidth = availableStarSpace * width.
Value
/ totalFactors;
1015
column.UpdateWidthForStarColumn(starColumnWidth, width.
Value
* starValue, width.
Value
);
1189
column.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, width.DesiredValue, displayValue));
1214
changedColumn.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, width.DesiredValue, minWidth));
1233
changedColumn.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, width.DesiredValue, displayValue));
1257
changedColumn.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, width.DesiredValue, maxWidth));
1275
changedColumn.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, width.DesiredValue, displayValue));
1306
changedColumn.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, width.DesiredValue, minWidth + leftOverSpace));
1359
column.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, width.DesiredValue, Math.Min(width.DesiredValue, maxWidth)));
1378
width.
Value
,
1609
if (width.IsStar && !DoubleUtil.AreClose(width.
Value
, 0.0))
1613
rightStarFactors += width.
Value
;
1614
double excessRatio = (width.DisplayValue - column.MinWidth) / width.
Value
;
1663
double columnDesiredWidth = width.DisplayValue - (width.
Value
* changePerStar);
1704
column.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, width.DesiredValue, width.DisplayValue - columnExcessWidth));
1789
column.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, width.DesiredValue, width.DisplayValue + columnLagWidth));
1859
if (width.IsStar && !DoubleUtil.AreClose(width.
Value
, 0.0))
1863
rightStarFactors += width.
Value
;
1864
double lagRatio = (column.MaxWidth - width.DisplayValue) / width.
Value
;
1912
double columnDesiredWidth = width.DisplayValue + (width.
Value
* changePerStar);
1930
double starValue = width.DesiredValue / width.
Value
;
1935
column.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, width.DesiredValue, columnDisplayWidth));
2104
column.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, width.DesiredValue, width.DisplayValue + perColumnGiveAwayWidth));
2368
column.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, width.DesiredValue, width.DisplayValue - perColumnTakeAwayWidth));
System\Windows\Controls\DataGridHelper.cs (1)
271
column.SetWidthInternal(new DataGridLength(width.
Value
, width.UnitType, desiredWidth, width.DisplayValue));
System\Windows\Controls\DataGridLength.cs (4)
128
&& gl1.
Value
== gl2.
Value
143
|| gl1.
Value
!= gl2.
Value
System\Windows\Controls\DataGridLengthConverter.cs (4)
142
return new InstanceDescriptor(ci, new object[] { length.
Value
, length.UnitType });
167
return DoubleUtil.IsOne(length.
Value
) ? "*" : $"{Convert.ToString(length.
Value
, cultureInfo)}*";
171
return Convert.ToString(length.
Value
, cultureInfo);