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