7 references to CoerceToMinMax
PresentationFramework (7)
System\Windows\Controls\DataGridColumn.cs (4)
273
double displayValue = DataGridHelper.
CoerceToMinMax
(changedWidth.DesiredValue, column.MinWidth, column.MaxWidth);
402
newDisplayValue = (double.IsNaN(newDisplayValue) ? newDisplayValue : DataGridHelper.
CoerceToMinMax
(newDisplayValue, column.MinWidth, column.MaxWidth));
550
double displayWidth = DataGridHelper.
CoerceToMinMax
(pixelWidth, minWidth, maxWidth);
565
double originalDesiredValue = DataGridHelper.
CoerceToMinMax
(width.DesiredValue, minWidth, maxWidth);
System\Windows\Controls\DataGridColumnCollection.cs (3)
1194
double displayValue = DataGridHelper.
CoerceToMinMax
(double.IsNaN(width.DesiredValue) ? minWidth : width.DesiredValue, minWidth, column.MaxWidth);
1394
double newDesiredValue = DataGridHelper.
CoerceToMinMax
(width.DesiredValue, changedColumn.MinWidth, changedColumn.MaxWidth);
1934
double columnDisplayWidth = DataGridHelper.
CoerceToMinMax
(width.DisplayValue + widthDelta, column.MinWidth, column.MaxWidth);