2 instantiations of Viewbox
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
12367DefaultConstructor = delegate () { return new System.Windows.Controls.Viewbox(); },
System\Windows\Markup\KnownTypes.cs (1)
1646case KnownElements.Viewbox: o = new System.Windows.Controls.Viewbox(); break;
20 references to Viewbox
PresentationFramework (20)
System\Windows\Controls\Image.cs (3)
128Viewbox.StretchProperty.AddOwner(typeof(Image)); 135Viewbox.StretchDirectionProperty.AddOwner(typeof(Image)); 330Size scaleFactor = Viewbox.ComputeScaleFactor(inputSize,
System\Windows\Controls\MediaElement.cs (3)
281Viewbox.StretchProperty.AddOwner(typeof(MediaElement)); 288Viewbox.StretchDirectionProperty.AddOwner(typeof(MediaElement)); 784Size scaleFactor = Viewbox.ComputeScaleFactor(inputSize,
System\Windows\Controls\Primitives\DocumentPageView.cs (4)
155Viewbox.StretchProperty.AddOwner( 165Viewbox.StretchDirectionProperty.AddOwner( 325pageZoom = Viewbox.ComputeScaleFactor(availableSize, pageSize, this.Stretch, this.StretchDirection); 416pageZoom = Viewbox.ComputeScaleFactor(finalSize, pageSize, this.Stretch, this.StretchDirection);
System\Windows\Controls\ViewBox.cs (2)
96typeof(Viewbox), // Property owner 118typeof(Viewbox), // Property owner
System\Windows\Documents\XamlToRtfWriter.cs (1)
2095Size scaleFactor = System.Windows.Controls.Viewbox.ComputeScaleFactor(
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
821case 728: t = () => typeof(Viewbox); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
6608Type type = typeof(System.Windows.Controls.Viewbox); 6610this.GetXamlType(typeof(System.Windows.Controls.Viewbox)), // DeclaringType 6617SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.Viewbox)target).Child = (System.Windows.UIElement)value; }, 6618GetDelegate = delegate (object target) { return ((System.Windows.Controls.Viewbox)target).Child; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
12364typeof(System.Windows.Controls.Viewbox),
System\Windows\Markup\KnownTypes.cs (1)
6275case KnownElements.Viewbox: t = typeof(System.Windows.Controls.Viewbox); break;