22 references to GridUnitType
PresentationFramework (22)
MS\Internal\PtsHost\TableParaClient.cs (4)
1954
switch (_calculatedColumns[i].UserWidth.
GridUnitType
)
2041
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)
158
if (((GridLength) e.OldValue).
GridUnitType
!= ((GridLength) e.NewValue).
GridUnitType
)
840
Debug.Assert( _userSize.
GridUnitType
== GridUnitType.Auto
841
|| _userSize.
GridUnitType
== GridUnitType.Pixel );
844
if (currentGridLength.
GridUnitType
== GridUnitType.Pixel)
846
if (_userSize.
GridUnitType
== GridUnitType.Auto)
System\Windows\Controls\Grid.cs (3)
1091
switch (definitions[i].UserSize.
GridUnitType
)
2122
switch (definitions[i].UserSize.
GridUnitType
)
2408
switch (def.UserSize.
GridUnitType
)
System\Windows\Documents\TableColumn.cs (3)
191
if ((gridLength.
GridUnitType
== GridUnitType.Pixel || gridLength.
GridUnitType
== GridUnitType.Star) &&
198
if (gridLength.
GridUnitType
== GridUnitType.Pixel && (gridLength.Value > maxPixel))
System\Windows\GridLength.cs (4)
129
return ( gl1.
GridUnitType
== gl2.
GridUnitType
142
return ( gl1.
GridUnitType
!= gl2.
GridUnitType
System\Windows\GridLengthConverter.cs (2)
179
return (new InstanceDescriptor(ci, new object[] { gl.Value, gl.
GridUnitType
}));
203
switch (gl.
GridUnitType
)