At Ignite 2019 Microsoft released the first bits of Windows UI Library (WinUI) version 3 (a.k.a. WinUI 3), an evolution of the UWP/XAML platform, that decouples the XAML UI framework from the Windows OS. It is shipped in its whole as a NuGet package, effectively allowing developers to...
Close the WebView2_WinUI3_Sample (Package) app. In Solution Explorer, in the WebView2_WinUI3_Sample project, double-click each .xaml file and its .cs file: App.xaml - No WebView2 code. App.cs - Code to use a fixed-version WebView2 Runtime. MainWindow.xaml - WebView2 elements...
Install WinUI 3 - Project Reunion 0.8 Preview Updating your existing WinUI 3 app Major changes introduced in this release List of bugs fixed in WinUI 3 - Project Reunion 0.8 Preview Show 4 more WinUI 3 is a native user experience (UX) framework for building modern Windows apps. It ships in...
What parent XAML Window will host the ContentDialog top-level child window. Desktop WinUI 3 apps can have multiple Window objects in the same thread. So, do we need new APIs? For example: contentdialog.ShowAsync(mywindow); How will the new top-level child ContentDialog work with the Reques...
In past previews they've partially worked in desktop apps as well, but since Preview 4 they've been fully disabled. These APIs are designed for the UWP case where there is only one window per thread, and one of the features of WinUI 3 is to enable multiple in the future....
|CompositionDrawingSurface |Fixed sized surface that can be rendered with an image using [LoadedImageSurface](/windows/winui/api/microsoft.ui.xaml.media.loadedimagesurface) or custom drawing using [Win2D](https://github.com/Microsoft/Win2D) (orD2D) or a video using [MediaPlayer](/uwp/api/W...
Drag controls into place, size and position them. Sure, editing the xaml code is alright for tweaking properties once the basic design (layout) is done. Even so the designer is needed to quickly find the control you want to edit. Even when editing the xaml, it’s much easier to simply...
m_window =newMainWindow();// Ensure the current window is activem_window.Activate(); UITestMethodAttribute.DispatcherQueue = m_window.DispatcherQueue;// Replace back with e.Arguments when https://github.com/microsoft/microsoft-ui-xaml/issues/3368 is fixedMicrosoft.VisualStudio.TestPlatform.TestEx...
size of the UI at run-time, not design-time. So rather than using a hard-coded tile size, using whatever display scaling was active when I built the app, I calculate the tile size based on the size of the ListView at run-time. That ListView's reported size changes ...
Main window looks like this: <Window x:Class="LaserThermApp.MainWindow" xmlns="https://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="https://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:LaserThermApp" xmlns:d="https://schemas.microsoft.com/expression/blend/2008...