2 instantiations of Viewbox
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11131
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
Viewbox
(); };
System\Windows\Markup\KnownTypes.cs (1)
1653
case KnownElements.Viewbox: o = new System.Windows.Controls.
Viewbox
(); break;
31 references to Viewbox
PresentationFramework (31)
System\Windows\Controls\Image.cs (6)
101
/// <seealso cref="
Viewbox
.StretchDirectionProperty" />
134
/// <seealso cref="
Viewbox
.Stretch" />
137
Viewbox
.StretchProperty.AddOwner(typeof(Image));
142
/// <seealso cref="
Viewbox
.Stretch" />
144
Viewbox
.StretchDirectionProperty.AddOwner(typeof(Image));
339
Size scaleFactor =
Viewbox
.ComputeScaleFactor(inputSize,
System\Windows\Controls\MediaElement.cs (5)
289
Viewbox
.StretchProperty.AddOwner(typeof(MediaElement));
294
/// <seealso cref="
Viewbox
.Stretch" />
296
Viewbox
.StretchDirectionProperty.AddOwner(typeof(MediaElement));
315
/// <seealso cref="
Viewbox
.StretchDirectionProperty" />
792
Size scaleFactor =
Viewbox
.ComputeScaleFactor(inputSize,
System\Windows\Controls\Primitives\DocumentPageView.cs (4)
160
Viewbox
.StretchProperty.AddOwner(
170
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)
31
/// <seealso cref="
Viewbox
" />
97
/// <seealso cref="
Viewbox
.Stretch" />
103
typeof(
Viewbox
), // Property owner
119
/// <seealso cref="
Viewbox
.StretchDirection" />
125
typeof(
Viewbox
), // Property owner
196
/// The single child of a <see cref="
Viewbox
" />
269
/// <seealso cref="
Viewbox
.StretchProperty" />
283
/// <seealso cref="
Viewbox
.StretchDirectionProperty" />
System\Windows\Documents\XamlToRtfWriter.cs (1)
2097
Size scaleFactor = System.Windows.Controls.
Viewbox
.ComputeScaleFactor(
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
824
case 728: t = () => typeof(
Viewbox
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
6167
Type type = typeof(System.Windows.Controls.
Viewbox
);
6169
this.GetXamlType(typeof(System.Windows.Controls.
Viewbox
)), // DeclaringType
6175
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.
Viewbox
)target).Child = (System.Windows.UIElement)value; };
6176
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.
Viewbox
)target).Child; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11129
typeof(System.Windows.Controls.
Viewbox
),
System\Windows\Markup\KnownTypes.cs (1)
6282
case KnownElements.Viewbox: t = typeof(System.Windows.Controls.
Viewbox
); break;