winui-3 Questions

1

Is it possible to use the exisiting controls of WinUI 3 in the MAUI project? Like controls in https://github.com/microsoft/WinUI-Gallery I installed the WinUI package to my MAUI project <ItemGro...
Defeat asked 19/6, 2022 at 4:37

1

Solved

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 .D...
Iamb asked 24/8, 2022 at 0:41

0

I was thinking how to add Microsoft Fluent Design colors to a Maui Application. What I think it should be is a list like at https://github.com/albi005/MaterialColorUtilities at (optional) Add place...
Conscientious asked 4/8, 2022 at 20:21

1

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.
Arsine asked 8/6, 2021 at 20:22

1

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...
Philosophical asked 5/4, 2022 at 17:34

3

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 (whic...
Trihedron asked 19/2, 2022 at 21:23

1

Solved

I develop many UWP apps to Windows 10, but to Windows 11 I have so many questions and sometimes the Microsoft Docs it's confusing. I want develop new apps to Windows 11 but I am totally lost! What ...
Junkman asked 27/3, 2022 at 19:8

0

I am trying to call a function in a PowerShell script file. I am using WinUI 3. I get difficult-to-understand output in the debugger output, and the PowerShell script does not appear to execute at ...
Internment asked 25/1, 2022 at 5:2

1

Solved

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...
Dibasic asked 9/12, 2021 at 15:25

3

Solved

In WPF all controls inherit DispatcherObject & its easy to get to the Dispatcher. How would I get the DispatcherQueue using WinUI 3 Windows App SDK and use it in a ViewModel? EDIT My implementa...
Eddins asked 8/11, 2021 at 14:42

1

Solved

In a WinUI 3 in Desktop app I have a property to update which is bound to the ui via x:Bind. I want to use the Dispatcher like I do in WPF to get on the UI thread and avoid the thread error im gett...
Nikaniki asked 7/11, 2021 at 14:28

2

How do I open a new window in WinRT / WinUI3? I want to click a button and open up another floating window on top of the current / main window. I have tried code from several samples with zero luck...
Denaturalize asked 18/9, 2021 at 5:17

1

Solved

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.Edit...
Shool asked 21/6, 2021 at 10:36

1

Solved

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 e...
Delossantos asked 17/6, 2021 at 10:58

1

Solved

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 ??
Pantin asked 27/1, 2021 at 7:16

2

When I use WebView2 control in a UWP project with WinUI 3.0 and run the app, the webpage inside WebView2 control is not displayed. Instead, the app displays the following message that takes me to M...
Spiffy asked 12/7, 2020 at 21:1

0

In my WinUI 3.0 - UWP project, I have a WebView2 control that displays a simple html as follows. But when I call the following javascript code using ExecuteScriptAsync (as shown below), I get the f...
Stoke asked 13/7, 2020 at 4:5

© 2022 - 2024 — McMap. All rights reserved.