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