Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
30 views

I'm using DevWinUI's shortcut control but I'm confused on how to get the key and modifiers from it and then casting it to the proper types for RegisterHotKey. The shortcut control returns public new ...
0 votes
0 answers
67 views

I'm using the header of the listview to filter item inside it. What I'd want, would be, to have the TextBox Collapsed by default and on PointerReleased on the TextBlock to put it Visible. When ...
0 votes
0 answers
27 views

I have a WPF app in the Windows Store, and it's using the Windows App SDK, so that I can use the StoreContext to handle subscription and consumable add-on purchases. I'm also using the Microsoft Store ...
0 votes
0 answers
229 views

I have a .NET project which has a class library that uses Windows App SDK. I'm trying to run test cases on this class library by creating a test project. But they are failing whenever it is trying to ...
0 votes
0 answers
93 views

Whenever a new tab is added to the tabview, the titlebar drag region swaps between being enabled and disabled. Visually there is no change. Only effect is that the drag region becomes disabled or ...
1 vote
0 answers
313 views

I would like to know if I have a specific version of the Windows App SDK runtime installed. When I go to https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/downloads, I see versions listed ...
5 votes
0 answers
882 views

I am developing a msix. My development process is, Build the app Package the app as an msix Self sign it Install and test But while installing the app I suddenly started getting and if I use Add-...
0 votes
0 answers
466 views

I have WinUI 3 application written in C#. I have multiple project in solution. App.Views - Views (XAML Window and Pages) App.ViewModels - View models App.Strings - RESW files and string resources ...
0 votes
0 answers
81 views

I face a problem how to create SolidColorBrush inside test suites. When I do it using the constructor, I get winrt::hresult_wrong_thread, which seems reasonable because when I run the tests, there is ...
0 votes
0 answers
543 views

If I create a new project with "Blank App, Packaged (WinUI 3 in Desktop)", replace <TargetFramework>net6.0-windows10.0.19041.0</TargetFramework> of App1.csproj with <...
0 votes
0 answers
73 views

I try creating Windows 11 widgets. But have problems with writing templates. I need Carousel with checkboxes, it should looks like this: "type": "Carousel", "height": &...
2 votes
0 answers
2k views

While Publishing app developed using 'Windows App Sdk', What is the difference between <SelfContained> vs <WindowsAppSDKSelfContained>. To reduce the app size, I want to set <...
0 votes
0 answers
117 views

I am trying to use the acrylic brush in WinUI 3, I read the documentation and it says that I must create an auxiliary class WindowsSystemDispatcherQueueHelper. I have followed the process but it ...
0 votes
0 answers
332 views

Or is there a way to cast them to winrt::Microsoft::UI::Xaml::Window? If not, does that mean I have to do the following things with the help of some custom classes applied to manage extra windows? ...
0 votes
0 answers
177 views

When I try to create a Grid, it throw System.Runtime.InteropServices.COMException var definition = new RowDefinition {Height = GridLength.Auto}; var grid = new Grid { RowDefinitions = { definition, ...
1 vote
0 answers
533 views

I'm working on a WinUI3 desktop application in C++. I'm trying to build a multiwindow application that will be still running and accepting events even when all the Windows are closed. In WinUI3, the ...
1 vote
0 answers
420 views

I'm using Visual Studio 2022 Community edition, version 17.4.1. I'm working on an app that uses WinUI 3 SDK and I noticed that my properties is empty. I initially though this was due to WinUI 3 being ...
0 votes
0 answers
104 views

I have been using windows-app-sdk and winui3 for developing my application which supports multiple windows. As an architecture, I am using ServiceLocator and DI to get the singleton and scoped ...
2 votes
0 answers
567 views

So I was upgrading my UWP solution to WindowsAppSDK and Winui3 when I noticed this error that Microsoft.Identity.Client doesnt seem to have WithUseCorporateNetwork method anymore in the build pipeline ...
0 votes
0 answers
612 views

I have a Microsoft Store app built with WinUI 3 and the Windows App SDK 1.0.0, built on a Windows 11 machine. When attempting to install the bundle on a Windows 10 machine, the Installer fails on ...
0 votes
0 answers
1k views

I'm trying to build an app using the new Widows App SDK. I used the Windows Community Toolkit to create the application. After consulting the documentation, I tried this: On the first page that my app ...