Files
docs-desktop/dotnet-desktop-guide/framework/wpf/controls/viewbox.md
T
Andy De George da363692ff Initial WPF content migrated (#17)
* Reset branch for WPF changes

* Convert BMP to PNG; fix link-out-of-scope err

* Add snippets for WPF... 6794 files!!!!

* Add missing snippets

* update file updated between migration

* Fix paths to include

* update breadcrumb and toc

* fix index links

* fix index links

* fix index links

* fix markdown
2020-09-04 09:46:28 -07:00

27 lines
817 B
Markdown

---
title: "Viewbox"
ms.date: "03/30/2017"
f1_keywords:
- "AutoGeneratedOrientationPage"
helpviewer_keywords:
- "controls [WPF], Viewbox"
- "stretching elements [WPF], Viewbox control"
- "Viewbox control [WPF]"
- "scaling elements [WPF], Viewbox control"
ms.assetid: 00fc0a16-1078-4d55-9849-ffaf7da96531
---
# Viewbox
The <xref:System.Windows.Controls.Viewbox> control is used to stretch or scale a child element.
## In This Section
[Apply Stretch Properties to the Contents of a Viewbox](how-to-apply-stretch-properties-to-the-contents-of-a-viewbox.md)
## Reference
<xref:System.Windows.Controls.Viewbox>
<xref:System.Windows.Controls.Image>
## See also
- [WPF Controls Gallery Sample](https://github.com/Microsoft/WPF-Samples/tree/master/Getting%20Started/ControlsAndLayout)