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