7 instantiations of FigureLength
PresentationFramework (7)
src\Framework\System\Windows\Documents\Figure.cs (2)
213new FigureLength(1.0, FigureUnitType.Auto), 234new FigureLength(1.0, FigureUnitType.Auto),
src\Framework\System\Windows\FigureLengthConverter.cs (2)
124return new FigureLength(Convert.ToDouble(source, cultureInfo)); //conversion from numeric type 238return (new FigureLength(value, unit));
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4219bamlType.DefaultConstructor = delegate() { return new System.Windows.FigureLength(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1265case KnownElements.FigureLength: o = new System.Windows.FigureLength(); break;
src\Framework\System\Windows\Markup\XamlFigureLengthSerializer.cs (1)
186return new FigureLength(unitValue, unitType);
28 references to FigureLength
PresentationFramework (28)
src\Framework\MS\Internal\PtsHost\FigureHelper.cs (3)
85internal static double CalculateFigureWidth(StructuralCache structuralCache, Figure figure, FigureLength figureLength, out bool isWidthAuto) 138internal static double CalculateFigureHeight(StructuralCache structuralCache, Figure figure, FigureLength figureLength, out bool isHeightAuto) 213internal static double CalculateFigureCommon(FigureLength figureLength)
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (1)
932FigureLength figureLength = ((Figure)Element).Width;
src\Framework\System\Windows\Documents\Figure.cs (6)
210typeof(FigureLength), 219public FigureLength Width 221get { return (FigureLength)GetValue(WidthProperty); } 231typeof(FigureLength), 240public FigureLength Height 242get { return (FigureLength)GetValue(HeightProperty); }
src\Framework\System\Windows\FigureLength.cs (9)
57public struct FigureLength : IEquatable<FigureLength> 160public static bool operator == (FigureLength fl1, FigureLength fl2) 173public static bool operator != (FigureLength fl1, FigureLength fl2) 187if(oCompare is FigureLength) 189FigureLength l = (FigureLength)oCompare; 202public bool Equals(FigureLength figureLength)
src\Framework\System\Windows\FigureLengthConverter.cs (6)
164&& value is FigureLength ) 166FigureLength fl = (FigureLength)value; 175ConstructorInfo ci = typeof(FigureLength).GetConstructor(new Type[] { typeof(double), typeof(FigureUnitType) }); 198static internal string ToString(FigureLength fl, CultureInfo cultureInfo) 231static internal FigureLength FromString(string s, CultureInfo cultureInfo)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
295case 203: t = () => typeof(FigureLength); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4217typeof(System.Windows.FigureLength),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5747case KnownElements.FigureLength: t = typeof(System.Windows.FigureLength); break;