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