2 instantiations of Viewbox
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
12367
DefaultConstructor = delegate () { return new System.Windows.Controls.
Viewbox
(); },
System\Windows\Markup\KnownTypes.cs (1)
1646
case KnownElements.Viewbox: o = new System.Windows.Controls.
Viewbox
(); break;
31 references to Viewbox
PresentationFramework (31)
System\Windows\Controls\Image.cs (6)
92
/// <seealso cref="
Viewbox
.StretchDirectionProperty" />
125
/// <seealso cref="
Viewbox
.Stretch" />
128
Viewbox
.StretchProperty.AddOwner(typeof(Image));
133
/// <seealso cref="
Viewbox
.Stretch" />
135
Viewbox
.StretchDirectionProperty.AddOwner(typeof(Image));
330
Size scaleFactor =
Viewbox
.ComputeScaleFactor(inputSize,
System\Windows\Controls\MediaElement.cs (5)
281
Viewbox
.StretchProperty.AddOwner(typeof(MediaElement));
286
/// <seealso cref="
Viewbox
.Stretch" />
288
Viewbox
.StretchDirectionProperty.AddOwner(typeof(MediaElement));
307
/// <seealso cref="
Viewbox
.StretchDirectionProperty" />
784
Size scaleFactor =
Viewbox
.ComputeScaleFactor(inputSize,
System\Windows\Controls\Primitives\DocumentPageView.cs (4)
155
Viewbox
.StretchProperty.AddOwner(
165
Viewbox
.StretchDirectionProperty.AddOwner(
325
pageZoom =
Viewbox
.ComputeScaleFactor(availableSize, pageSize, this.Stretch, this.StretchDirection);
416
pageZoom =
Viewbox
.ComputeScaleFactor(finalSize, pageSize, this.Stretch, this.StretchDirection);
System\Windows\Controls\ViewBox.cs (8)
24
/// <seealso cref="
Viewbox
" />
90
/// <seealso cref="
Viewbox
.Stretch" />
96
typeof(
Viewbox
), // Property owner
112
/// <seealso cref="
Viewbox
.StretchDirection" />
118
typeof(
Viewbox
), // Property owner
189
/// The single child of a <see cref="
Viewbox
" />
262
/// <seealso cref="
Viewbox
.StretchProperty" />
276
/// <seealso cref="
Viewbox
.StretchDirectionProperty" />
System\Windows\Documents\XamlToRtfWriter.cs (1)
2095
Size scaleFactor = System.Windows.Controls.
Viewbox
.ComputeScaleFactor(
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
821
case 728: t = () => typeof(
Viewbox
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
6608
Type type = typeof(System.Windows.Controls.
Viewbox
);
6610
this.GetXamlType(typeof(System.Windows.Controls.
Viewbox
)), // DeclaringType
6617
SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.
Viewbox
)target).Child = (System.Windows.UIElement)value; },
6618
GetDelegate = delegate (object target) { return ((System.Windows.Controls.
Viewbox
)target).Child; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
12364
typeof(System.Windows.Controls.
Viewbox
),
System\Windows\Markup\KnownTypes.cs (1)
6275
case KnownElements.Viewbox: t = typeof(System.Windows.Controls.
Viewbox
); break;