Skip to main content
Filter by
Sorted by
Tagged with
105 votes
4 answers
52k views

Trying to grasp the concepts of MVVM, I have already read several blogs and looked at a few projects. From what I understand, a View is dumb, it just knows how to present something that is passed to ...
RKM's user avatar
  • 3,261
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
1 answer
5k views

A WinUI 3 question about accessing the UI thread from another thread, say, a Timer tick. In WinForms that was extremely easy with a (someControl).InvokeRequired and .Invoke. In WPF we had to add ....
Paul Claessen's user avatar
9 votes
1 answer
3k views

I'm trying to work out how to package a WinUI desktop application in MSIX. We don't want to upload to Windows Store or anything, just to be able to give people an installer (much like a .msi file), ...
Eleco Martin's user avatar
7 votes
1 answer
8k views

I have created a project in winui3, however, I just can't find a way to publish the application into a single .exe file. When I use the JetBrains rider to publish single .exe file, it just doesn't ...
chirag goyal's user avatar
7 votes
1 answer
2k views

I need to get a reference to the parent Microsoft.UI.Xaml.Window for a Control. Is there a way to do that in Project Reunion 0.5? Window.Current does not work in a desktop app.
David Brown's user avatar
  • 36.4k
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
2 answers
3k views

Microsoft provides several ways to gain secure access to Azure Key Vault secrets, particularly using Managed Identity or Service Principals as identity providers. However, these methods are explicitly ...
FactoryOptimizr's 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 am able to start my Windows MAUI app using an URI, and I can get the URI itself. But, it appears that a NEW instance of the app is being created. This is not ideal for me -- if my app is already ...
bobwki's user avatar
  • 952
5 votes
1 answer
3k views

can someone please tell me the exact difference between FallbackValue and TargetNullValue? I know they are quite similar, but I'd like to understand more about those edge usecases where you want to ...
AtosNicoS's user avatar
  • 183
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
4 votes
1 answer
3k views

If you want to use the default styles, colors, etc..., you need to bring them from the generic.xaml file that comes with WindowsAppSDK NuGet packages. Hence the question, where is located the generic....
Andrew KeepCoding's user avatar
4 votes
1 answer
1k views

enter image description here I'm developing an application using WinUI 3 with .NET Core 8 and have installed CommunityToolkit.WinUI.Controls, but I'm encountering errors when trying to use ...
PC Kien's user avatar
  • 43
4 votes
3 answers
2k views

Installed Visual Studio 2022 (on a clean/fresh Windows 11 installation), installed Template Studio for WinUI (v5.3). Created a Project using Template Studio with these Settings: - Project type: ...
Mladen Gavrić's user avatar
4 votes
3 answers
3k views

How can I remove the close button in WinUI 3? Screenshot of WinUI 3 App
hardlycom.m's user avatar
4 votes
1 answer
3k views

My aim is to make the background colour of the title bar and the content inside the app to be the same colour, but that is not working. I wanted to make everything of this colour #FF2B2B2B, the ...
uhlw32n2's user avatar
4 votes
1 answer
816 views

I'm trying to create some scalable buttons in a WinUI application using svg files. I've achieved this at the moment using an image control as the button's context, similar to the below: <Button ...
DTynewydd's user avatar
  • 436
4 votes
0 answers
223 views

I've got a custom MarkupExtension FooBinding. public class FooBinding : MarkupExtension { public PropertyPath Path { get; set; } public FooBinding(string path) { Path = new ...
Dominic Jonas's user avatar
4 votes
0 answers
262 views

I'm developing a cross-platform graphical desktop application in .NET 5. I'm currently using UNO Platform and WinUI 3 preview 3. I need to authenticate users to a remote website and store the ...
giuann's user avatar
  • 51
3 votes
1 answer
917 views

I want to define a filetype to open in my app and have already gotten this far: I added this to my Package.appxmanifest inside the Application tag: <Extensions> <uap:Extension Category=&...
LightJack05's user avatar
3 votes
1 answer
575 views

In WinForms, we used the following in Main() or some other startup event: System.Windows.Forms.Application.ThreadException += ExceptionHandler.Handle; I searched for something similar in WinUI3 (...
E. A. Bagby's user avatar
3 votes
1 answer
1k views

I have created a brand-new WinUI 3 / Windows App SDK project in VS2022 Pro using a Blank Project template. When I open MainWindow.xaml in design mode after successfully building the project I get the ...
Caspian Canuck's user avatar
3 votes
2 answers
3k views

I am developing a WinUI3 app and I want to make the window transparent. However, that doesn't seem to be easily possible anymore. In WPF I could just set AllowTransparency = "true" in my ...
Niilo Poutanen's user avatar
3 votes
1 answer
100 views

I have an ItemsView control with LinedFlowLayout inside my WinUI 3 application. I would like to make a list of "tags", but for some reason I cannot figure out, when the window is resized ...
Vytautas Valiukonis's user avatar

1
2 3 4 5
15