2 instantiations of Viewbox
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
12368
DefaultConstructor = delegate () { return new System.Windows.Controls.
Viewbox
(); },
System\Windows\Markup\KnownTypes.cs (1)
1647
case KnownElements.Viewbox: o = new System.Windows.Controls.
Viewbox
(); break;
31 references to Viewbox
PresentationFramework (31)
System\Windows\Controls\Image.cs (6)
93
/// <seealso cref="
Viewbox
.StretchDirectionProperty" />
126
/// <seealso cref="
Viewbox
.Stretch" />
129
Viewbox
.StretchProperty.AddOwner(typeof(Image));
134
/// <seealso cref="
Viewbox
.Stretch" />
136
Viewbox
.StretchDirectionProperty.AddOwner(typeof(Image));
331
Size scaleFactor =
Viewbox
.ComputeScaleFactor(inputSize,
System\Windows\Controls\MediaElement.cs (5)
282
Viewbox
.StretchProperty.AddOwner(typeof(MediaElement));
287
/// <seealso cref="
Viewbox
.Stretch" />
289
Viewbox
.StretchDirectionProperty.AddOwner(typeof(MediaElement));
308
/// <seealso cref="
Viewbox
.StretchDirectionProperty" />
785
Size scaleFactor =
Viewbox
.ComputeScaleFactor(inputSize,
System\Windows\Controls\Primitives\DocumentPageView.cs (4)
156
Viewbox
.StretchProperty.AddOwner(
166
Viewbox
.StretchDirectionProperty.AddOwner(
326
pageZoom =
Viewbox
.ComputeScaleFactor(availableSize, pageSize, this.Stretch, this.StretchDirection);
417
pageZoom =
Viewbox
.ComputeScaleFactor(finalSize, pageSize, this.Stretch, this.StretchDirection);
System\Windows\Controls\ViewBox.cs (8)
25
/// <seealso cref="
Viewbox
" />
91
/// <seealso cref="
Viewbox
.Stretch" />
97
typeof(
Viewbox
), // Property owner
113
/// <seealso cref="
Viewbox
.StretchDirection" />
119
typeof(
Viewbox
), // Property owner
190
/// The single child of a <see cref="
Viewbox
" />
263
/// <seealso cref="
Viewbox
.StretchProperty" />
277
/// <seealso cref="
Viewbox
.StretchDirectionProperty" />
System\Windows\Documents\XamlToRtfWriter.cs (1)
2096
Size scaleFactor = System.Windows.Controls.
Viewbox
.ComputeScaleFactor(
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
822
case 728: t = () => typeof(
Viewbox
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
6609
Type type = typeof(System.Windows.Controls.
Viewbox
);
6611
this.GetXamlType(typeof(System.Windows.Controls.
Viewbox
)), // DeclaringType
6618
SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.
Viewbox
)target).Child = (System.Windows.UIElement)value; },
6619
GetDelegate = delegate (object target) { return ((System.Windows.Controls.
Viewbox
)target).Child; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
12365
typeof(System.Windows.Controls.
Viewbox
),
System\Windows\Markup\KnownTypes.cs (1)
6276
case KnownElements.Viewbox: t = typeof(System.Windows.Controls.
Viewbox
); break;