53 references to Value
PresentationFramework (53)
src\Framework\System\Windows\Controls\DataGridColumn.cs (7)
275column.SetWidthInternal(new DataGridLength(changedWidth.Value, changedWidth.UnitType, changedWidth.DesiredValue, displayValue)); 401double newDesiredValue = CoerceDesiredOrDisplayWidthValue(width.Value, width.DesiredValue, width.UnitType); 402double newDisplayValue = CoerceDesiredOrDisplayWidthValue(width.Value, width.DisplayValue, width.UnitType); 410width.Value, 562SetWidthInternal(new DataGridLength(width.Value, width.UnitType, pixelWidth, displayWidth)); 567SetWidthInternal(new DataGridLength(width.Value, width.UnitType, pixelWidth, width.DisplayValue)); 601!DoubleUtil.AreClose(width.Value, starValue))
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (37)
815if (!DoubleUtil.AreClose(width.Value, 0.0) && 818perStarWidth = width.DesiredValue / width.Value; 921totalFactors += width.Value; 949double starColumnWidth = availableStarSpace * width.Value / totalFactors; 954totalFactors -= width.Value; 972double starColumnWidth = availableStarSpace * width.Value / totalFactors; 980totalFactors -= width.Value; 981column.UpdateWidthForStarColumn(columnMaxWidth, starValue * width.Value, width.Value); 1000totalFactors += column.Width.Value; 1012column.UpdateWidthForStarColumn(columnMinWidth, width.Value * starValue, width.Value); 1021double starColumnWidth = availableStarSpace * width.Value / totalFactors; 1022column.UpdateWidthForStarColumn(starColumnWidth, width.Value * starValue, width.Value); 1199column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, displayValue)); 1224changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, minWidth)); 1243changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, displayValue)); 1267changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, maxWidth)); 1285changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, displayValue)); 1316changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, minWidth + leftOverSpace)); 1369column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, Math.Min(width.DesiredValue, maxWidth))); 1388width.Value, 1619if (width.IsStar && !DoubleUtil.AreClose(width.Value, 0.0)) 1623rightStarFactors += width.Value; 1624double excessRatio = (width.DisplayValue - column.MinWidth) / width.Value; 1673double columnDesiredWidth = width.DisplayValue - (width.Value * changePerStar); 1714column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue - columnExcessWidth)); 1799column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue + columnLagWidth)); 1869if (width.IsStar && !DoubleUtil.AreClose(width.Value, 0.0)) 1873rightStarFactors += width.Value; 1874double lagRatio = (column.MaxWidth - width.DisplayValue) / width.Value; 1922double columnDesiredWidth = width.DisplayValue + (width.Value * changePerStar); 1940double starValue = width.DesiredValue / width.Value; 1945column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, columnDisplayWidth)); 2114column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue + perColumnGiveAwayWidth)); 2378column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue - perColumnTakeAwayWidth));
src\Framework\System\Windows\Controls\DataGridHelper.cs (1)
279column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, desiredWidth, width.DisplayValue));
src\Framework\System\Windows\Controls\DataGridLength.cs (4)
133&& gl1.Value == gl2.Value 148|| gl1.Value != gl2.Value
src\Framework\System\Windows\Controls\DataGridLengthConverter.cs (4)
156return new InstanceDescriptor(ci, new object[] { length.Value, length.UnitType }); 181return DoubleUtil.IsOne(length.Value) ? "*" : Convert.ToString(length.Value, cultureInfo) + "*"; 185return Convert.ToString(length.Value, cultureInfo);