23 references to GridUnitType
PresentationFramework (22)
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (4)
2081
switch (_calculatedColumns[i].UserWidth.
GridUnitType
)
2168
Debug.Assert(_calculatedColumns[i].UserWidth.
GridUnitType
== GridUnitType.Auto || _calculatedColumns[i].UserWidth.
GridUnitType
== GridUnitType.Star || _calculatedColumns[i].UserWidth.
GridUnitType
== GridUnitType.Pixel, "Unexpected GridUnitType");
src\Framework\System\Windows\Controls\DefinitionBase.cs (6)
172
if (((GridLength) e.OldValue).
GridUnitType
!= ((GridLength) e.NewValue).
GridUnitType
)
846
Debug.Assert( _userSize.
GridUnitType
== GridUnitType.Auto
847
|| _userSize.
GridUnitType
== GridUnitType.Pixel );
850
if (currentGridLength.
GridUnitType
== GridUnitType.Pixel)
852
if (_userSize.
GridUnitType
== GridUnitType.Auto)
src\Framework\System\Windows\Controls\Grid.cs (3)
1163
switch (definitions[i].UserSize.
GridUnitType
)
2195
switch (definitions[i].UserSize.
GridUnitType
)
2484
switch (def.UserSize.
GridUnitType
)
src\Framework\System\Windows\Documents\TableColumn.cs (3)
204
if ((gridLength.
GridUnitType
== GridUnitType.Pixel || gridLength.
GridUnitType
== GridUnitType.Star) &&
211
if (gridLength.
GridUnitType
== GridUnitType.Pixel && (gridLength.Value > maxPixel))
src\Framework\System\Windows\GridLength.cs (4)
134
return ( gl1.
GridUnitType
== gl2.
GridUnitType
147
return ( gl1.
GridUnitType
!= gl2.
GridUnitType
src\Framework\System\Windows\GridLengthConverter.cs (2)
196
return (new InstanceDescriptor(ci, new object[] { gl.Value, gl.
GridUnitType
}));
220
switch (gl.
GridUnitType
)
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\SharedPropertyValueColumnWidthContainer.cs (1)
61
if (value.
GridUnitType
!= GridUnitType.Pixel)