2 writes to DesiredWidth
PresentationFramework (2)
System\Windows\Controls\GridViewColumn.cs (2)
518DesiredWidth = width; 610DesiredWidth = 0.0;
16 references to DesiredWidth
PresentationFramework (16)
System\Windows\Controls\GridViewColumn.cs (3)
516if (width > DesiredWidth) 520return DesiredWidth; 743ActualWidth = (State == ColumnMeasureState.SpecificWidth) ? Width : DesiredWidth;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (6)
276accumulatedWidth += column.DesiredWidth; 281childConstraintWidth = Math.Min(childConstraintWidth, column.DesiredWidth); 285accumulatedWidth += column.DesiredWidth; 352double childArrangeWidth = Math.Min(remainingWidth, ((column.State == ColumnMeasureState.SpecificWidth) ? column.Width : column.DesiredWidth)); 828if (!DoubleUtil.AreClose(column.DesiredWidth, DesiredWidthList[column.ActualIndex])) 834DesiredWidthList[column.ActualIndex] = column.DesiredWidth;
System\Windows\Controls\GridViewRowPresenter.cs (7)
167DesiredWidthList[column.ActualIndex] = column.DesiredWidth; 169accumulatedWidth += column.DesiredWidth; 173childConstraintWidth = Math.Min(childConstraintWidth, column.DesiredWidth); 177accumulatedWidth += column.DesiredWidth; 221double childArrangeWidth = Math.Min(remainingWidth, ((column.State == ColumnMeasureState.SpecificWidth) ? column.Width : column.DesiredWidth)); 551if (!DoubleUtil.AreClose(column.DesiredWidth, DesiredWidthList[column.ActualIndex])) 557DesiredWidthList[column.ActualIndex] = column.DesiredWidth;