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