Training
Module
Customize layout in .NET MAUI XAML pages - Training
Create consistent user interfaces across different devices by using StackLayout and Grid.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The Viewbox control is used to stretch or scale a child element.
.NET Desktop feedback feedback
.NET Desktop feedback is an open source project. Select a link to provide feedback:
Training
Module
Customize layout in .NET MAUI XAML pages - Training
Create consistent user interfaces across different devices by using StackLayout and Grid.
Documentation
How to: Apply Stretch Properties to the Contents of a Viewbox - WPF .NET Framework
Learn how to apply stretch properties to the contents of a Viewbox via the included code examples in XAML, C#, and Visual Basic.
How to create a template - WPF .NET
Learn how to create and reference a control template in Windows Presentation Foundation and .NET. Templates can be implemented in a resource dictionary.
How to: Create a Button That Has an Image - WPF .NET Framework
Learn how to create a button that has an image, by means of the included code examples in XAML, C#, and Visual Basic.
ListView Styles and Templates - WPF .NET Framework
Review a list of topics describing the styles and templates available for use with ListView control.