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