Learn how the Viewbox control is used to stretch or scale a child element in Windows Presentation Foundation (WPF) applications.
This example shows how to change the value of the <xref:System.Windows.Controls.Viewbox.StretchDirection%2A> and <xref:System.Windows.Controls.Viewbox.Stretch%2A ...