53 references to Value
PresentationFramework (53)
System\Windows\Controls\DataGridColumn.cs (7)
274column.SetWidthInternal(new DataGridLength(changedWidth.Value, changedWidth.UnitType, changedWidth.DesiredValue, displayValue)); 400double newDesiredValue = CoerceDesiredOrDisplayWidthValue(width.Value, width.DesiredValue, width.UnitType); 401double newDisplayValue = CoerceDesiredOrDisplayWidthValue(width.Value, width.DisplayValue, width.UnitType); 409width.Value, 561SetWidthInternal(new DataGridLength(width.Value, width.UnitType, pixelWidth, displayWidth)); 566SetWidthInternal(new DataGridLength(width.Value, width.UnitType, pixelWidth, width.DisplayValue)); 600!DoubleUtil.AreClose(width.Value, starValue))
System\Windows\Controls\DataGridColumnCollection.cs (37)
813if (!DoubleUtil.AreClose(width.Value, 0.0) && 816perStarWidth = width.DesiredValue / width.Value; 919totalFactors += width.Value; 947double starColumnWidth = availableStarSpace * width.Value / totalFactors; 952totalFactors -= width.Value; 970double starColumnWidth = availableStarSpace * width.Value / totalFactors; 978totalFactors -= width.Value; 979column.UpdateWidthForStarColumn(columnMaxWidth, starValue * width.Value, width.Value); 998totalFactors += column.Width.Value; 1010column.UpdateWidthForStarColumn(columnMinWidth, width.Value * starValue, width.Value); 1019double starColumnWidth = availableStarSpace * width.Value / totalFactors; 1020column.UpdateWidthForStarColumn(starColumnWidth, width.Value * starValue, width.Value); 1197column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, displayValue)); 1222changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, minWidth)); 1241changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, displayValue)); 1265changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, maxWidth)); 1283changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, displayValue)); 1314changedColumn.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, minWidth + leftOverSpace)); 1367column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, Math.Min(width.DesiredValue, maxWidth))); 1386width.Value, 1617if (width.IsStar && !DoubleUtil.AreClose(width.Value, 0.0)) 1621rightStarFactors += width.Value; 1622double excessRatio = (width.DisplayValue - column.MinWidth) / width.Value; 1671double columnDesiredWidth = width.DisplayValue - (width.Value * changePerStar); 1712column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue - columnExcessWidth)); 1797column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue + columnLagWidth)); 1867if (width.IsStar && !DoubleUtil.AreClose(width.Value, 0.0)) 1871rightStarFactors += width.Value; 1872double lagRatio = (column.MaxWidth - width.DisplayValue) / width.Value; 1920double columnDesiredWidth = width.DisplayValue + (width.Value * changePerStar); 1938double starValue = width.DesiredValue / width.Value; 1943column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, columnDisplayWidth)); 2112column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue + perColumnGiveAwayWidth)); 2376column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, width.DesiredValue, width.DisplayValue - perColumnTakeAwayWidth));
System\Windows\Controls\DataGridHelper.cs (1)
278column.SetWidthInternal(new DataGridLength(width.Value, width.UnitType, desiredWidth, width.DisplayValue));
System\Windows\Controls\DataGridLength.cs (4)
132&& gl1.Value == gl2.Value 147|| gl1.Value != gl2.Value
System\Windows\Controls\DataGridLengthConverter.cs (4)
147return new InstanceDescriptor(ci, new object[] { length.Value, length.UnitType }); 172return DoubleUtil.IsOne(length.Value) ? "*" : $"{Convert.ToString(length.Value, cultureInfo)}*"; 176return Convert.ToString(length.Value, cultureInfo);