24 references to ColumnMeasureState
PresentationFramework (24)
src\Framework\System\Windows\Controls\GridViewColumn.cs (11)
46_state = Double.IsNaN(Width) ? ColumnMeasureState.Init : ColumnMeasureState.SpecificWidth; 408c.State = Double.IsNaN(newWidth) ? ColumnMeasureState.Init : ColumnMeasureState.SpecificWidth; 533_state = Double.IsNaN(Width) ? ColumnMeasureState.Init : ColumnMeasureState.SpecificWidth; 598internal ColumnMeasureState State 607if (value != ColumnMeasureState.Init) // Headered, Data or SpecificWidth 616else if (value == ColumnMeasureState.SpecificWidth) 746ActualWidth = (State == ColumnMeasureState.SpecificWidth) ? Width : DesiredWidth; 756private ColumnMeasureState _state;
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (7)
268if (column.State == ColumnMeasureState.Init) 283else if (column.State == ColumnMeasureState.Headered 284|| column.State == ColumnMeasureState.Data) 357double childArrangeWidth = Math.Min(remainingWidth, ((column.State == ColumnMeasureState.SpecificWidth) ? column.Width : column.DesiredWidth)); 815if ((column.State != ColumnMeasureState.SpecificWidth)) 817if (column.State == ColumnMeasureState.Init) 819column.State = ColumnMeasureState.Headered;
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (6)
152if (column.State == ColumnMeasureState.Init 153|| column.State == ColumnMeasureState.Headered) 177else if (column.State == ColumnMeasureState.Data) 227double childArrangeWidth = Math.Min(remainingWidth, ((column.State == ColumnMeasureState.SpecificWidth) ? column.Width : column.DesiredWidth)); 543if ((column.State != ColumnMeasureState.SpecificWidth)) 545column.State = ColumnMeasureState.Data;