30 references to MinWidth
PresentationFramework (30)
System\Windows\Controls\DataGridCellsPanel.cs (1)
1908childMeasureWidth = Math.Max(averageColumnWidth, column.MinWidth);
System\Windows\Controls\DataGridColumn.cs (5)
273double displayValue = DataGridHelper.CoerceToMinMax(changedWidth.DesiredValue, column.MinWidth, column.MaxWidth); 402newDisplayValue = (double.IsNaN(newDisplayValue) ? newDisplayValue : DataGridHelper.CoerceToMinMax(newDisplayValue, column.MinWidth, column.MaxWidth)); 488double minWidth = column.MinWidth; 548double minWidth = MinWidth; 1496return width.DisplayValue >= this.MinWidth && width.DisplayValue <= this.MaxWidth;
System\Windows\Controls\DataGridColumnCollection.cs (23)
920totalMinWidths += column.MinWidth; 946double columnMinWidth = column.MinWidth; 997availableStarSpace += column.MinWidth; 1009double columnMinWidth = column.MinWidth; 1193double minWidth = column.MinWidth; 1214double minWidth = changedColumn.MinWidth; 1312double minWidth = changedColumn.MinWidth; 1389Math.Max(width.DisplayValue - nonRetrievableSpace, changedColumn.MinWidth))); 1394double newDesiredValue = DataGridHelper.CoerceToMinMax(width.DesiredValue, changedColumn.MinWidth, changedColumn.MaxWidth); 1414sumOfMinWidths += column.MinWidth; 1418sumOfStarMinWidths += column.MinWidth; 1507if (DoubleUtil.LessThan(expectedRezingColumnWidth, resizingColumn.MinWidth)) 1509horizontalChange = resizingColumn.MinWidth - resizingColumnWidth.DisplayValue; 1619if (DoubleUtil.GreaterThan(width.DisplayValue, column.MinWidth)) 1622double excessRatio = (width.DisplayValue - column.MinWidth) / width.Value; 1669else if (column.Width.IsStar && CanColumnParticipateInResize(column) && DoubleUtil.GreaterThan(width.DisplayValue, column.MinWidth)) 1672column.UpdateWidthForStarColumn(Math.Max(columnDesiredWidth, column.MinWidth), columnDesiredWidth, columnDesiredWidth / perStarWidth); 1701double columnExcessWidth = onlyShrinkToDesiredWidth ? width.DisplayValue - Math.Max(width.DesiredValue, column.MinWidth) : width.DisplayValue - column.MinWidth; 1934double columnDisplayWidth = DataGridHelper.CoerceToMinMax(width.DisplayValue + widthDelta, column.MinWidth, column.MaxWidth); 2266sumOfStarMinWidths += column.MinWidth; 2337double minWidth = column.MinWidth; 2374if (DoubleUtil.GreaterThan(width.DisplayValue, column.MinWidth))
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
922columnEstimatedWidth = Math.Max(averageColumnWidth, column.MinWidth);