26 references to LayoutTimeSizeType
PresentationFramework (26)
System\Windows\Controls\DefinitionBase.cs (3)
327internal Grid.LayoutTimeSizeType SizeType 353if ( _sizeType != Grid.LayoutTimeSizeType.Auto 666private Grid.LayoutTimeSizeType _sizeType; // layout-time user size type. it may differ from _userSizeValueCache.UnitType when calculating "to-content"
System\Windows\Controls\Grid.cs (23)
1094definitions[i].SizeType = LayoutTimeSizeType.Pixel; 1100definitions[i].SizeType = LayoutTimeSizeType.Auto; 1106definitions[i].SizeType = LayoutTimeSizeType.Auto; 1111definitions[i].SizeType = LayoutTimeSizeType.Star; 1388measureSize += (definitions[i].SizeType == LayoutTimeSizeType.Auto) 1403private LayoutTimeSizeType GetLengthTypeForRange( 1410LayoutTimeSizeType lengthType = LayoutTimeSizeType.None; 1642case (LayoutTimeSizeType.Auto): 1645case (LayoutTimeSizeType.Pixel): 1648case (LayoutTimeSizeType.Star): 1748if (def.SizeType == LayoutTimeSizeType.Star) 1797case (LayoutTimeSizeType.Auto): 1800case (LayoutTimeSizeType.Pixel): 1803case (LayoutTimeSizeType.Star): 1857if (def.SizeType == LayoutTimeSizeType.Star && def.MeasureSize > 0.0) 1976if (def.SizeType == LayoutTimeSizeType.Star) 3526internal LayoutTimeSizeType SizeTypeU; 3527internal LayoutTimeSizeType SizeTypeV; 3529internal bool IsStarU { get { return ((SizeTypeU & LayoutTimeSizeType.Star) != 0); } } 3530internal bool IsAutoU { get { return ((SizeTypeU & LayoutTimeSizeType.Auto) != 0); } } 3531internal bool IsStarV { get { return ((SizeTypeV & LayoutTimeSizeType.Star) != 0); } } 3532internal bool IsAutoV { get { return ((SizeTypeV & LayoutTimeSizeType.Auto) != 0); } }