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