30 references to MinWidth
PresentationFramework (30)
System\Windows\Controls\DataGridCellsPanel.cs (1)
1904childMeasureWidth = 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; 1493return 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; 1189double minWidth = column.MinWidth; 1210double minWidth = changedColumn.MinWidth; 1308double minWidth = changedColumn.MinWidth; 1385Math.Max(width.DisplayValue - nonRetrievableSpace, changedColumn.MinWidth))); 1390double newDesiredValue = DataGridHelper.CoerceToMinMax(width.DesiredValue, changedColumn.MinWidth, changedColumn.MaxWidth); 1410sumOfMinWidths += column.MinWidth; 1414sumOfStarMinWidths += column.MinWidth; 1503if (DoubleUtil.LessThan(expectedRezingColumnWidth, resizingColumn.MinWidth)) 1505horizontalChange = resizingColumn.MinWidth - resizingColumnWidth.DisplayValue; 1615if (DoubleUtil.GreaterThan(width.DisplayValue, column.MinWidth)) 1618double excessRatio = (width.DisplayValue - column.MinWidth) / width.Value; 1665else if (column.Width.IsStar && CanColumnParticipateInResize(column) && DoubleUtil.GreaterThan(width.DisplayValue, column.MinWidth)) 1668column.UpdateWidthForStarColumn(Math.Max(columnDesiredWidth, column.MinWidth), columnDesiredWidth, columnDesiredWidth / perStarWidth); 1697double columnExcessWidth = onlyShrinkToDesiredWidth ? width.DisplayValue - Math.Max(width.DesiredValue, column.MinWidth) : width.DisplayValue - column.MinWidth; 1930double columnDisplayWidth = DataGridHelper.CoerceToMinMax(width.DisplayValue + widthDelta, column.MinWidth, column.MaxWidth); 2262sumOfStarMinWidths += column.MinWidth; 2333double minWidth = column.MinWidth; 2370if (DoubleUtil.GreaterThan(width.DisplayValue, column.MinWidth))
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
917columnEstimatedWidth = Math.Max(averageColumnWidth, column.MinWidth);