22 references to GridUnitType
PresentationFramework (22)
MS\Internal\PtsHost\TableParaClient.cs (4)
1953
switch (_calculatedColumns[i].UserWidth.
GridUnitType
)
2040
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)
157
if (((GridLength) e.OldValue).
GridUnitType
!= ((GridLength) e.NewValue).
GridUnitType
)
839
Debug.Assert( _userSize.
GridUnitType
== GridUnitType.Auto
840
|| _userSize.
GridUnitType
== GridUnitType.Pixel );
843
if (currentGridLength.
GridUnitType
== GridUnitType.Pixel)
845
if (_userSize.
GridUnitType
== GridUnitType.Auto)
System\Windows\Controls\Grid.cs (3)
1083
switch (definitions[i].UserSize.
GridUnitType
)
2114
switch (definitions[i].UserSize.
GridUnitType
)
2400
switch (def.UserSize.
GridUnitType
)
System\Windows\Documents\TableColumn.cs (3)
190
if ((gridLength.
GridUnitType
== GridUnitType.Pixel || gridLength.
GridUnitType
== GridUnitType.Star) &&
197
if (gridLength.
GridUnitType
== GridUnitType.Pixel && (gridLength.Value > maxPixel))
System\Windows\GridLength.cs (4)
128
return ( gl1.
GridUnitType
== gl2.
GridUnitType
141
return ( gl1.
GridUnitType
!= gl2.
GridUnitType
System\Windows\GridLengthConverter.cs (2)
178
return (new InstanceDescriptor(ci, new object[] { gl.Value, gl.
GridUnitType
}));
202
switch (gl.
GridUnitType
)