Skip to main content
Filter by
Sorted by
Tagged with
33 votes
1 answer
27k views

Is WPF getting outdated with arrival of WinUI-3? When it comes to Desktop Application development, Is it about time to migrate to WinUI-3 completely leaving behind WinForm/WPF legacy ??
jrk007's user avatar
  • 395
26 votes
3 answers
17k views

I am unable to find Microsoft's new development platform WinUI3 in visual studio. Should I install any components or something bug in my VS?
Mg Bhadurudeen's user avatar
19 votes
1 answer
14k views

Title says it all, docs don't seem to say which should be preferred. They have the same arguments you can pass basically too. https://learn.microsoft.com/en-us/dotnet/api/microsoft.maui....
ShadyHippo's user avatar
18 votes
1 answer
12k views

I was developing uwp apps for the past few years, now moving to winui3. It is my first project. I am unable to find the designer view for the XAML files. Is it not available in WinUI3? or something ...
Mg Bhadurudeen's user avatar
14 votes
6 answers
10k views

I just start learning WinUI 3.0 and can't find any information in google or books like Learn WinUI 3.0 how to set default window size of application. I know in UWP it can be like ApplicationView....
whome's user avatar
  • 151
12 votes
2 answers
10k views

I cannot figure this out. I just want to publish/deploy a hello world simple WinUI 3 app. Before I publish my real app (I tried to publish my full app, but I thought maybe there was something wrong ...
LennyL's user avatar
  • 373
11 votes
3 answers
10k views

I am creating my first WinUI 3 desktop application. I have a NavigationView on my MainWindow. I have 9 different pages that I navigate to via the frame in the NavigationView. One of the pages is for ...
LennyL's user avatar
  • 373
11 votes
4 answers
6k views

I've just started working on a WinUi 3 (Desktop) project and have got blocked trying to add Window resources to a Window. I would have thought the following would work. However there appears to be no ...
Mark's user avatar
  • 213
10 votes
5 answers
7k views

I am trying to make a program that runs in the background, and I want to place a Tray Icon in the Tray Icon Section of Windows. I didn't find a solution to do this without using Windows Forms (which ...
JannisDev's user avatar
  • 167
9 votes
2 answers
10k views

I am trying to set up a project in VSCode to build & run windows desktop apps: WinUI / MAUI / UNO because our team is mostly using VSCode. I am aware that Visual Studio 2022 is recommended for ...
to-mars's user avatar
  • 231
8 votes
5 answers
4k views

I've created a Maui windows application. I'm looking to activate the application through a URI and pass query parameters to the app. I've added the windows protocol for calling the app via uri in the ...
Meridith Spellerberg's user avatar
8 votes
2 answers
2k views

The Goal Creating and rendering a simple WinUI3 GUI in PowerShell 7.5 which is based on .NET 9. Nothing complicated, just a window and a button in it, such as this XAML <?xml version="1.0"...
SpyNet's user avatar
  • 777
7 votes
1 answer
4k views

In my WinUI 3 application, I am trying to use a ResourceDictionary that is located in another project. Lets say the referenced project is ResourceTestLib and this library project has a folder "...
Martin's user avatar
  • 5,733
7 votes
3 answers
3k views

i am using CommunityToolkit to configure the binding properties in the view model, but in some cases I would like to set the property only as readonly. So I am tryiung this: [ObservableProperty] ...
Álvaro García's user avatar
6 votes
6 answers
6k views

I'm creating a demo app using WinUI 3 prerelease 0.5 (project reunion). I would like to maximize, minimize, and restore the window state from c# managed code. Are there any examples available?
Randall B's user avatar
  • 101
6 votes
1 answer
9k views

In .NET WinUI 3 (Microsoft.UI.Xaml.* in Windows 11), I am looking for a way to dynamically set my main Window's initial size and position. Ideally, I would like to: Detect which of the 1..* monitors ...
Leo Orientis's user avatar
  • 1,071
6 votes
1 answer
4k views

I'm trying to show a popup to edit a brand in my app but it doesn't show up. Function where I call the Dialog: private async Task EditBrandAsync(Brand brand) { var dialog = new ContentDialogs....
David Simões's user avatar
6 votes
3 answers
3k views

So in UWP, we can use ApplicationView.GetForCurrentView().SetPreferredMinSize(new Size(500, 500)); but ApplicationView.GetForCurrentView(); returns null in WinUI 3. Is there a way to set the minimum ...
Hebele Hübele's user avatar
6 votes
2 answers
4k views

I recently took a stock WinUI template, added my old UWP C# code, recompiled and tried to publish. The Windows Store Application Submission warns me that I shouldn't use the runFullTrust setting: We ...
Quark Soup's user avatar
  • 4,783
6 votes
0 answers
1k views

I am creating a .NET6 WinUI application which works and runs fine when built and executed via Visual Studio 2022. If I try to build via the cli (dotnet build) I get an error that Microsoft....
user avatar
5 votes
3 answers
11k views

I want to try the Community Toolkit 8.0 the MVVM part. I have a very simple application: .... d:DataContext="{d:DesignInstance Type=local:MainWindowViewModel}" .... <Grid> ...
Enki's user avatar
  • 59
5 votes
3 answers
3k views

I can't find how to easily create a custom control in which I can insert content in xaml. For example, I would like my control to contain a grid that I style somehow and then insert content into it ...
Clyde's user avatar
  • 433
5 votes
2 answers
1k views

Where can I find a visual list of all the standard theme brushes available to me in UWP/WinUI3 XAML? For example, the High Contrast themes documentation includes a visual list of all the colors, ...
citelao's user avatar
  • 6,352
5 votes
4 answers
3k views

I'm pretty sure I have all the right flags and everything set according to Microsoft Docs, however the UI dlls are not being included in the single file exe.
nathanAjacobs's user avatar
5 votes
2 answers
642 views

I am trying to create a MSTest project for unit testing of our WinUI 3 development. I am able to run tests through the test explorer when targeting .NET 5.0. Project Reunion requires net5.0-windows10....
JJenkins's user avatar

1
2 3 4 5
37