22 references to GridUnitType
PresentationFramework (22)
MS\Internal\PtsHost\TableParaClient.cs (4)
1960
switch (_calculatedColumns[i].UserWidth.
GridUnitType
)
2047
Debug.Assert(_calculatedColumns[i].UserWidth.
GridUnitType
== GridUnitType.Auto || _calculatedColumns[i].UserWidth.
GridUnitType
== GridUnitType.Star || _calculatedColumns[i].UserWidth.
GridUnitType
== GridUnitType.Pixel, "Unexpected GridUnitType");
System\Windows\Controls\DefinitionBase.cs (6)
165
if (((GridLength) e.OldValue).
GridUnitType
!= ((GridLength) e.NewValue).
GridUnitType
)
847
Debug.Assert( _userSize.
GridUnitType
== GridUnitType.Auto
848
|| _userSize.
GridUnitType
== GridUnitType.Pixel );
851
if (currentGridLength.
GridUnitType
== GridUnitType.Pixel)
853
if (_userSize.
GridUnitType
== GridUnitType.Auto)
System\Windows\Controls\Grid.cs (3)
1100
switch (definitions[i].UserSize.
GridUnitType
)
2131
switch (definitions[i].UserSize.
GridUnitType
)
2417
switch (def.UserSize.
GridUnitType
)
System\Windows\Documents\TableColumn.cs (3)
199
if ((gridLength.
GridUnitType
== GridUnitType.Pixel || gridLength.
GridUnitType
== GridUnitType.Star) &&
206
if (gridLength.
GridUnitType
== GridUnitType.Pixel && (gridLength.Value > maxPixel))
System\Windows\GridLength.cs (4)
130
return ( gl1.
GridUnitType
== gl2.
GridUnitType
143
return ( gl1.
GridUnitType
!= gl2.
GridUnitType
System\Windows\GridLengthConverter.cs (2)
184
return (new InstanceDescriptor(ci, new object[] { gl.Value, gl.
GridUnitType
}));
208
switch (gl.
GridUnitType
)