Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

I have installed the winui extension to Visual Studio 19. I created a new project using the Win UI desktop template. I have built the two projects created (one is the package). I try to run the ...
Haim Katz's user avatar
  • 461
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 vote
1 answer
2k views

I am trying to write an MVVM and WinUI3 based app. I have a ViewModel property, SelectedFolder, which is observable (using MVVM Toolkit). This is of type Folder which is a plain old class. Something ...
jdm's user avatar
  • 10.3k
2 votes
2 answers
4k views

I would like to add some king of splash screen (modal) window in the "OnLauched" method of my WinUI 3 application. Currently I just instanciate my main window, which is of type '...
Martin's user avatar
  • 5,733
2 votes
1 answer
3k views

Do not judge strictly. I just started learning WinUI. Using WPF I could make the main window transparent right in the XAML markup. Is it possible to make the main window transparent using Reunion? I ...
AlexPalex's user avatar
1 vote
1 answer
1k views

I am porting some XAML from WPF to WinUI3. As far as I understand for now I can't use DynamicResource in WinUI3, but is there any workaround to use system color like this one in WPF: <...
demonplus's user avatar
  • 5,839
6 votes
3 answers
3k views

I recently upgraded Visual Studio 2019 to install the Project Reunion templates so I can run WinUI3 apps. I followed this guide. I believe I installed all the workloads and components from this list ...
Christian Findlay's user avatar
0 votes
1 answer
1k views

I am unable to get the ScrollBars to appear for a Canvas when its children are out of view. This is being directly added to the MainWindow. <ScrollViewer> <Canvas x:Name="MainCanvas&...
dotnetzen's user avatar
  • 186
0 votes
1 answer
1k views

Is there a way to invoke default Windows shortcuts like Win + V programmatically in WinUI UWP? Some shortcuts, like Win + V, don't have any API calls as far as I know. Hence, I want to invoke them by ...
Kris2k's user avatar
  • 387
2 votes
1 answer
297 views

I cannot find the WeakEventManger class in WINUI3. All my WPF projects uses this in the view models when I subscribe on model events that lives longer than the ViewModel. ViewModels with long living ...
user1164920's user avatar
1 vote
3 answers
533 views

I know that SelectionStart property of WinUI UWP TextBox will return the CaretIndex. But, I want to get the exact Column and Line Position of Text. In WPF, GetLineFromCharacterIndex(CaretIndex) and ...
Kris2k's user avatar
  • 387
2 votes
2 answers
2k views

I am using WinUI 3 UWP TabView in my App. I know that WinUI 3 is still in Preview stage for UWP. But still I want to know a workaround for my issue as I want to use TabView in my App. I have gone ...
Kris2k's user avatar
  • 387
0 votes
1 answer
342 views

<Page x:Class="ParentView"> <view:ChildView/> <view:ChildView/> ... </Page> Prism attaching the child View-Models as AutowireViewModel=True. How can I ...
Tommy's user avatar
  • 198
0 votes
1 answer
560 views

Error PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate entry. MyApplication (Package) C:\MyApplication (Package)\GENERATEPROJECTPRIFILE <- This is the error I always get if I ...
pavll's user avatar
  • 1
0 votes
1 answer
473 views

I have an UWP based uno app with Droid, iOS, wasm. I would like to update it to a WinUI 3 based app, and delete the UWP platform. In my project Microsoft.Toolkit.Uwp.UI.Controls is used, because of ...
Spuriga's user avatar
  • 168
1 vote
1 answer
882 views

I'm developing a desktop application using Project Reunion WinUI template in Visual Studio 2019. We have requirement that we need to capture image from our application and save it. I tried ...
SwapNeil's user avatar
  • 555
3 votes
2 answers
3k views

I'm making a UWP Windows app in C# using WinUI 3.0 and a few days ago I started getting this kind of error: CS0433 The type 'NavigationView' exists in both 'Microsoft.UI.Xaml, Version=255.255.255.255,...
user avatar
0 votes
4 answers
4k views

I would like to have a button that creates another window. I'm building off the template app you get in VS2019 Preview So far, I've created a new control BlankWindow, just the default one. I can see ...
Nicholas Meyer's user avatar
1 vote
1 answer
645 views

Running the sample app or a new app from the template renders only a blank indigo screen. App loads and runs, yet none of the web content renders and no error is given.
GMariakis's user avatar
  • 544
0 votes
1 answer
1k views

I have a function that causes the GUI to freeze while its running so am trying to get it to run on another thread, then update text once its complete. I have it running on another thread fine, but not ...
Ceri Turner's user avatar
14 votes
6 answers
10k views

I am trying to get started with a brand new .NET Maui application. Upon creating the project, it has a single project for the MauiApp, and another project named MauiApp.WinUI. When I try to run the ...
Jack Carbone's user avatar
6 votes
1 answer
7k views

I'm triyng to make a login system in my UWP (WinUI3) app and when I try to lauch de Login Content Dialog it crashes throwing this error: System.ArgumentException: 'Value does not fall within the ...
David Simões's user avatar
0 votes
1 answer
1k views

I'm trying to make a re-usable WinUI dialog to display progress information, but I want the fact that I'm using a ContentDialog to be an implementation detail and not expose its API. I figured I could ...
David Brown's user avatar
  • 36.4k
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
1 vote
1 answer
1k views

Introduction: I'm currently working on an app, where data should be displayed in a TabView. By default, a "home" tab will be open, displaying a Listbox. Upon clicking an entry in this box, a ...
ChrisK's user avatar
  • 1,208