30 references to MinWidth
PresentationFramework (30)
System\Windows\Controls\DataGridCellsPanel.cs (1)
1899childMeasureWidth = Math.Max(averageColumnWidth, column.MinWidth);
System\Windows\Controls\DataGridColumn.cs (5)
270double displayValue = DataGridHelper.CoerceToMinMax(changedWidth.DesiredValue, column.MinWidth, column.MaxWidth); 399newDisplayValue = (double.IsNaN(newDisplayValue) ? newDisplayValue : DataGridHelper.CoerceToMinMax(newDisplayValue, column.MinWidth, column.MaxWidth)); 485double minWidth = column.MinWidth; 545double minWidth = MinWidth; 1486return width.DisplayValue >= this.MinWidth && width.DisplayValue <= this.MaxWidth;
System\Windows\Controls\DataGridColumnCollection.cs (23)
916totalMinWidths += column.MinWidth; 942double columnMinWidth = column.MinWidth; 993availableStarSpace += column.MinWidth; 1005double columnMinWidth = column.MinWidth; 1186double minWidth = column.MinWidth; 1207double minWidth = changedColumn.MinWidth; 1305double minWidth = changedColumn.MinWidth; 1382Math.Max(width.DisplayValue - nonRetrievableSpace, changedColumn.MinWidth))); 1387double newDesiredValue = DataGridHelper.CoerceToMinMax(width.DesiredValue, changedColumn.MinWidth, changedColumn.MaxWidth); 1407sumOfMinWidths += column.MinWidth; 1411sumOfStarMinWidths += column.MinWidth; 1500if (DoubleUtil.LessThan(expectedRezingColumnWidth, resizingColumn.MinWidth)) 1502horizontalChange = resizingColumn.MinWidth - resizingColumnWidth.DisplayValue; 1612if (DoubleUtil.GreaterThan(width.DisplayValue, column.MinWidth)) 1615double excessRatio = (width.DisplayValue - column.MinWidth) / width.Value; 1662else if (column.Width.IsStar && CanColumnParticipateInResize(column) && DoubleUtil.GreaterThan(width.DisplayValue, column.MinWidth)) 1665column.UpdateWidthForStarColumn(Math.Max(columnDesiredWidth, column.MinWidth), columnDesiredWidth, columnDesiredWidth / perStarWidth); 1694double columnExcessWidth = onlyShrinkToDesiredWidth ? width.DisplayValue - Math.Max(width.DesiredValue, column.MinWidth) : width.DisplayValue - column.MinWidth; 1927double columnDisplayWidth = DataGridHelper.CoerceToMinMax(width.DisplayValue + widthDelta, column.MinWidth, column.MaxWidth); 2259sumOfStarMinWidths += column.MinWidth; 2330double minWidth = column.MinWidth; 2367if (DoubleUtil.GreaterThan(width.DisplayValue, column.MinWidth))
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
912columnEstimatedWidth = Math.Max(averageColumnWidth, column.MinWidth);