7 instantiations of FigureLength
PresentationFramework (7)
System\Windows\Documents\Figure.cs (2)
210new FigureLength(1.0, FigureUnitType.Auto), 231new FigureLength(1.0, FigureUnitType.Auto),
System\Windows\FigureLengthConverter.cs (2)
114return new FigureLength(Convert.ToDouble(source, cultureInfo)); //conversion from numeric type 220return (new FigureLength(value, unit));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4561DefaultConstructor = delegate () { return new System.Windows.FigureLength(); },
System\Windows\Markup\KnownTypes.cs (1)
1257case KnownElements.FigureLength: o = new System.Windows.FigureLength(); break;
System\Windows\Markup\XamlFigureLengthSerializer.cs (1)
167return new FigureLength(unitValue, unitType);
26 references to FigureLength
PresentationFramework (26)
MS\Internal\PtsHost\FigureHelper.cs (3)
71internal static double CalculateFigureWidth(StructuralCache structuralCache, Figure figure, FigureLength figureLength, out bool isWidthAuto) 124internal static double CalculateFigureHeight(StructuralCache structuralCache, Figure figure, FigureLength figureLength, out bool isHeightAuto) 199internal static double CalculateFigureCommon(FigureLength figureLength)
MS\Internal\PtsHost\FloaterParagraph.cs (1)
892FigureLength figureLength = ((Figure)Element).Width;
System\Windows\Documents\Figure.cs (6)
207typeof(FigureLength), 216public FigureLength Width 218get { return (FigureLength)GetValue(WidthProperty); } 228typeof(FigureLength), 237public FigureLength Height 239get { return (FigureLength)GetValue(HeightProperty); }
System\Windows\FigureLength.cs (7)
52public struct FigureLength : IEquatable<FigureLength> 157public static bool operator == (FigureLength fl1, FigureLength fl2) 170public static bool operator != (FigureLength fl1, FigureLength fl2) 184if (oCompare is FigureLength l) 198public bool Equals(FigureLength figureLength)
System\Windows\FigureLengthConverter.cs (6)
146&& value is FigureLength ) 148FigureLength fl = (FigureLength)value; 157ConstructorInfo ci = typeof(FigureLength).GetConstructor(new Type[] { typeof(double), typeof(FigureUnitType) }); 180internal static string ToString(FigureLength fl, CultureInfo cultureInfo) 213internal static FigureLength FromString(string s, CultureInfo cultureInfo)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
296case 203: t = () => typeof(FigureLength); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4558typeof(System.Windows.FigureLength),
System\Windows\Markup\KnownTypes.cs (1)
5750case KnownElements.FigureLength: t = typeof(System.Windows.FigureLength); break;