

Use advanced casting to allow your users to share their content on other devices like TVs.Ĭreate Windows-styled designs via the AnimationMetrics API to keep your app consistent with Windows.Ĭreate new windows and control their positioning, size, or Picture-in-Picture mode. Play a 360-degree video to give an immersive/explorative experience to your users. Universal Windows Platform (UWP) app samplesĭemonstrates WinRT API usage patterns for UWP.
#VISUAL STUDIO SAMPLE CODE HOW TO#
Showcases various WinUI 2 controls and how to effectively use them. UWP / WinUI 2 samples Samples repositories Samples repository See App Notifications to learn more.Īdd custom C#/WinRT controls to your app using the patterns demonstrated in Author Windows Runtime components with C#/WinRT.Īdd windowing support to your app to create/hide new windows, customize titlebars, and more. Push Notifications can be used to send device-native app notifications to users.Īdd toast notifications to your app. Windows App SDK deployment guide for framework-dependent apps packaged with external location or unpackaged, an alternative to packaged app deployment architecture.ĭemonstrates the techniques shown in Use the dynamic dependency API to reference MSIX packages at run time.Īdd push notifications to your app. Launch the Windows App SDK installer without using a console window. MRT Core resource management APIs allow you to adapt resource utilization to specific situations.Ĭall the Deployment API to ensure that Windows application framework components are up to date. Tailor your app to the user and device settings. This sample makes use of the Windows App SDK Restart APIs. State notifications allow you to detect when the user's device enters specific states, such as low power mode. App instancing APIs control whether or not users can run multiple instances of your application at the same time. App activiation APIs control the way that your app handles activation kinds like Launch, File, and Protocol.ĭetermine application instancing behavior. Samples that demonstrate specific tasks Sample Showcases a variety of Microsoft.UI.Composition and Microsoft.UI.Input API calls. Showcases various WinUI 3 controls and how to effectively use them. This is the main Windows App SDK samples repository. Windows App SDK / WinUI 3 samples Samples repositories Samples repository Refer to each resource's Readme for additional instructions. sln) files that can be opened in Visual Studio. Most of the samples identified in this document contain Solution (. See our Samples Browser for a more extensive catalog of samples. The samples in this document demonstrate features from Windows App SDK / WinUI 3, UWP / WinUI 2. This page is targeted at users who are looking for Windows development samples that demonstrate specific tasks, features, and API usage patterns.
