53 references to Value
PresentationFramework (53)
System\Windows\Controls\DataGridColumn.cs (7)
271column.SetWidthInternal(new DataGridLength(changedWidth.Value, changedWidth.UnitType, changedWidth.DesiredValue, displayValue)); 397double newDesiredValue = CoerceDesiredOrDisplayWidthValue(width.Value, width.DesiredValue, width.UnitType); 398double newDisplayValue = CoerceDesiredOrDisplayWidthValue(width.Value, width.DisplayValue, width.UnitType); 406width.Value, 558SetWidthInternal(new DataGridLength(width.Value, width.UnitType, pixelWidth, displayWidth)); 563SetWidthInternal(new DataGridLength(width.Value, width.UnitType, pixelWidth, width.DisplayValue)); 597!DoubleUtil.AreClose(width.Value, starValue))
System\Windows\Controls\DataGridColumnCollection.cs (37)
809if (!DoubleUtil.AreClose(width.Value, 0.0) && 812perStarWidth = width.DesiredValue / width.Value; 915totalFactors += width.Value; 943double starColumnWidth = availableStarSpace * width.Value / totalFactors; 948totalFactors -= width.Value; 966double starColumnWidth = availableStarSpace * width.Value / totalFactors; 974totalFactors -= width.Value; 975column.UpdateWidthForStarColumn(columnMaxWidth, starValue * width.Value, width.Value); 994totalFactors += column.Width.Value; 1006column.UpdateWidthForStarColumn(columnMinWidth, width.Value * starValue, width.Value); 1015double starColumnWidth = availableStarSpace * width.Value / totalFactors; 1016column.UpdateWidthForStarColumn(starColumnWidth, width.Value * starValue, width.Value); 1193column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, displayValue)); 1218changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, minWidth)); 1237changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, displayValue)); 1261changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, maxWidth)); 1279changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, displayValue)); 1310changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, minWidth + leftOverSpace)); 1363column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, Math.Min(width.DesiredValue, maxWidth))); 1382width.Value, 1613if (width.IsStar && !DoubleUtil.AreClose(width.Value, 0.0)) 1617rightStarFactors += width.Value; 1618double excessRatio = (width.DisplayValue - column.MinWidth) / width.Value; 1667double columnDesiredWidth = width.DisplayValue - (width.Value * changePerStar); 1708column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue - columnExcessWidth)); 1793column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue + columnLagWidth)); 1863if (width.IsStar && !DoubleUtil.AreClose(width.Value, 0.0)) 1867rightStarFactors += width.Value; 1868double lagRatio = (column.MaxWidth - width.DisplayValue) / width.Value; 1916double columnDesiredWidth = width.DisplayValue + (width.Value * changePerStar); 1934double starValue = width.DesiredValue / width.Value; 1939column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, columnDisplayWidth)); 2108column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue + perColumnGiveAwayWidth)); 2372column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue - perColumnTakeAwayWidth));
System\Windows\Controls\DataGridHelper.cs (1)
272column.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)
143return new InstanceDescriptor(ci, new object[] { length.Value, length.UnitType }); 168return DoubleUtil.IsOne(length.Value) ? "*" : $"{Convert.ToString(length.Value, cultureInfo)}*"; 172return Convert.ToString(length.Value, cultureInfo);