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