winui Questions
3
Solved
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 ...
1
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),...
Ikkela asked 21/11, 2022 at 14:28
1
I'm looking for a way to use WinUI with a visual Editor, but can't find one. And i'm not sure where to start on writing my own.
As of today (December 11th, 2023), there is no Win UI Visual Ed...
Cuisine asked 11/12, 2023 at 18:44
6
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.Pr...
1
The .NET RID changed from .NET8, so I modified the PropertyGroup in the csproj file as follows.
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-win...
3
Solved
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...
1
I want to create a custom Entry with a completely personalized visual.
For this, I created a CustomEntryHandler to modify the native view of the windows platform but I can't override the basic wind...
1
Solved
I have bound button command to one RelayCommand from MVVM Toolkit, which executes some function, with following:
[RelayCommand]
private async void SomeMethod() {}
I want to prevent multiple clicks...
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...
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.
1
Solved
1
Solved
System.ArgumentException: 'Value does not fall within the expected range.' on Content Dialog
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...
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
2
Solved
I was trying to use WinUI so I installed the plugin Microsoft.UI.Xaml (2.4.2) from Nuget
and followed the instructions which says add This <XamlControlsResources xmlns="using:Microsoft.UI.X...
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...
0
I'll try to summarize my issue as concisely as I can:
I have a legacy C++ project that uses WinAPI to create and manage UI elements. I want to replace this with a more modern framework that...
Fasciate asked 19/6, 2020 at 16:0
3
With .NET Core 3 in preview, it is possible to create a WinForms or WPF "desktop application" on the .NET Core platform.
Using XAML islands, it is possible to host UWP controls in a WPF applicatio...
1
© 2022 - 2024 — McMap. All rights reserved.