24 references to ColumnMeasureState
PresentationFramework (24)
System\Windows\Controls\GridViewColumn.cs (11)
43_state = Double.IsNaN(Width) ? ColumnMeasureState.Init : ColumnMeasureState.SpecificWidth; 405c.State = Double.IsNaN(newWidth) ? ColumnMeasureState.Init : ColumnMeasureState.SpecificWidth; 530_state = Double.IsNaN(Width) ? ColumnMeasureState.Init : ColumnMeasureState.SpecificWidth; 595internal ColumnMeasureState State 604if (value != ColumnMeasureState.Init) // Headered, Data or SpecificWidth 613else if (value == ColumnMeasureState.SpecificWidth) 743ActualWidth = (State == ColumnMeasureState.SpecificWidth) ? Width : DesiredWidth; 753private ColumnMeasureState _state;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (7)
263if (column.State == ColumnMeasureState.Init) 278else if (column.State == ColumnMeasureState.Headered 279|| column.State == ColumnMeasureState.Data) 352double childArrangeWidth = Math.Min(remainingWidth, ((column.State == ColumnMeasureState.SpecificWidth) ? column.Width : column.DesiredWidth)); 810if ((column.State != ColumnMeasureState.SpecificWidth)) 812if (column.State == ColumnMeasureState.Init) 814column.State = ColumnMeasureState.Headered;
System\Windows\Controls\GridViewRowPresenter.cs (6)
146if (column.State == ColumnMeasureState.Init 147|| column.State == ColumnMeasureState.Headered) 171else if (column.State == ColumnMeasureState.Data) 221double childArrangeWidth = Math.Min(remainingWidth, ((column.State == ColumnMeasureState.SpecificWidth) ? column.Width : column.DesiredWidth)); 536if ((column.State != ColumnMeasureState.SpecificWidth)) 538column.State = ColumnMeasureState.Data;