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