2 instantiations of Viewbox
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11127
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
Viewbox
(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1654
case KnownElements.Viewbox: o = new System.Windows.Controls.
Viewbox
(); break;
31 references to Viewbox
PresentationFramework (31)
src\Framework\System\Windows\Controls\Image.cs (6)
106
/// <seealso cref="
Viewbox
.StretchDirectionProperty" />
139
/// <seealso cref="
Viewbox
.Stretch" />
142
Viewbox
.StretchProperty.AddOwner(typeof(Image));
147
/// <seealso cref="
Viewbox
.Stretch" />
149
Viewbox
.StretchDirectionProperty.AddOwner(typeof(Image));
344
Size scaleFactor =
Viewbox
.ComputeScaleFactor(inputSize,
src\Framework\System\Windows\Controls\MediaElement.cs (5)
294
Viewbox
.StretchProperty.AddOwner(typeof(MediaElement));
299
/// <seealso cref="
Viewbox
.Stretch" />
301
Viewbox
.StretchDirectionProperty.AddOwner(typeof(MediaElement));
320
/// <seealso cref="
Viewbox
.StretchDirectionProperty" />
797
Size scaleFactor =
Viewbox
.ComputeScaleFactor(inputSize,
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (4)
162
Viewbox
.StretchProperty.AddOwner(
172
Viewbox
.StretchDirectionProperty.AddOwner(
328
pageZoom =
Viewbox
.ComputeScaleFactor(availableSize, pageSize, this.Stretch, this.StretchDirection);
419
pageZoom =
Viewbox
.ComputeScaleFactor(finalSize, pageSize, this.Stretch, this.StretchDirection);
src\Framework\System\Windows\Controls\ViewBox.cs (8)
38
/// <seealso cref="
Viewbox
" />
105
/// <seealso cref="
Viewbox
.Stretch" />
111
typeof(
Viewbox
), // Property owner
127
/// <seealso cref="
Viewbox
.StretchDirection" />
133
typeof(
Viewbox
), // Property owner
204
/// The single child of a <see cref="
Viewbox
" />
277
/// <seealso cref="
Viewbox
.StretchProperty" />
291
/// <seealso cref="
Viewbox
.StretchDirectionProperty" />
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
2098
Size scaleFactor = System.Windows.Controls.
Viewbox
.ComputeScaleFactor(
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
820
case 728: t = () => typeof(
Viewbox
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
6125
Type type = typeof(System.Windows.Controls.
Viewbox
);
6127
this.GetXamlType(typeof(System.Windows.Controls.
Viewbox
)), // DeclaringType
6133
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.
Viewbox
)target).Child = (System.Windows.UIElement)value; };
6134
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.
Viewbox
)target).Child; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11125
typeof(System.Windows.Controls.
Viewbox
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6272
case KnownElements.Viewbox: t = typeof(System.Windows.Controls.
Viewbox
); break;