7 instantiations of FigureLength
PresentationFramework (7)
System\Windows\Documents\Figure.cs (2)
211new FigureLength(1.0, FigureUnitType.Auto), 232new FigureLength(1.0, FigureUnitType.Auto),
System\Windows\FigureLengthConverter.cs (2)
115return new FigureLength(Convert.ToDouble(source, cultureInfo)); //conversion from numeric type 221return (new FigureLength(value, unit));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4221bamlType.DefaultConstructor = delegate() { return new System.Windows.FigureLength(); };
System\Windows\Markup\KnownTypes.cs (1)
1264case KnownElements.FigureLength: o = new System.Windows.FigureLength(); break;
System\Windows\Markup\XamlFigureLengthSerializer.cs (1)
168return new FigureLength(unitValue, unitType);
28 references to FigureLength
PresentationFramework (28)
MS\Internal\PtsHost\FigureHelper.cs (3)
80internal static double CalculateFigureWidth(StructuralCache structuralCache, Figure figure, FigureLength figureLength, out bool isWidthAuto) 133internal static double CalculateFigureHeight(StructuralCache structuralCache, Figure figure, FigureLength figureLength, out bool isHeightAuto) 208internal static double CalculateFigureCommon(FigureLength figureLength)
MS\Internal\PtsHost\FloaterParagraph.cs (1)
898FigureLength figureLength = ((Figure)Element).Width;
System\Windows\Documents\Figure.cs (6)
208typeof(FigureLength), 217public FigureLength Width 219get { return (FigureLength)GetValue(WidthProperty); } 229typeof(FigureLength), 238public FigureLength Height 240get { return (FigureLength)GetValue(HeightProperty); }
System\Windows\FigureLength.cs (9)
53public struct FigureLength : IEquatable<FigureLength> 158public static bool operator == (FigureLength fl1, FigureLength fl2) 171public static bool operator != (FigureLength fl1, FigureLength fl2) 185if(oCompare is FigureLength) 187FigureLength l = (FigureLength)oCompare; 200public bool Equals(FigureLength figureLength)
System\Windows\FigureLengthConverter.cs (6)
147&& value is FigureLength ) 149FigureLength fl = (FigureLength)value; 158ConstructorInfo ci = typeof(FigureLength).GetConstructor(new Type[] { typeof(double), typeof(FigureUnitType) }); 181static internal string ToString(FigureLength fl, CultureInfo cultureInfo) 214static internal FigureLength FromString(string s, CultureInfo cultureInfo)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
297case 203: t = () => typeof(FigureLength); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4219typeof(System.Windows.FigureLength),
System\Windows\Markup\KnownTypes.cs (1)
5757case KnownElements.FigureLength: t = typeof(System.Windows.FigureLength); break;