Share via


.NET MAUI on Surface Duo

.NET MAUI is a UI framework for building cross-platform native apps with a single codebase. Apps can target Android, iOS, macOS, Windows, and more. Android apps can additionally use the Foldable NuGet to adapt to the Microsoft Surface Duo and other foldable devices.

Surface Duo emulator in Visual Studio

You can download and install the Surface Duo emulator to test and debug .NET MAUI Android apps. Follow the additional instructions for Visual Studio for tips on using the emulator with .NET.

TwoPaneView control

The .NET MAUI TwoPaneView control is an adaptive split-layout control based on the Grid, which renders two panes of content side-by-side (or vertically stacked), and automatically snaps the panes to the hinge or fold on a dual-screen device. On other devices the TwoPaneView can be configured to adapt to small and large screens.

Check the .NET MAUI TwoPaneView documentation for setup instructions and code samples.

Samples