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