winui-3 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 create an installer for an Winui3 app and add to it an external msi file.
So far I've tried Wix toolset and Microsoft Visual Studio Installer Projects but both create an msi file cont...
Marylou asked 24/2, 2022 at 14:14
3
Solved
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?
Periphrastic asked 8/12, 2021 at 8:15
4
I need to achieve below requirements in WinUI 3 Desktop applications.
How to get screen bounds?
How to change windows cursor type in runtime?
I already did this in WinUI UWP applications.
For Scr...
2
Solved
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&q...
Ockham asked 12/5 at 18:44
2
Does WinUI 3 support binding in a Style Setter? I've defined a Style for a NavigationView and the third line is:
<Setter Property="CompactPaneLength" Value="{Binding CurrentCompac...
2
Solved
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 fo...
Recalcitrant asked 11/3, 2022 at 0:13
6
Solved
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...
Mose asked 19/6, 2021 at 19:51
7
How can I remove the Title Bar in MAUI and fix the window size as 800x400 pixels in the Windows version of the application?
full size
I searched for a very long time in the Internet, but I found a...
5
Solved
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?
3
Solved
I would like to create a new WinUI 3 desktop application using .NET 8. After I initialze the project in Visual Studio, the project is on .NET 6. I change the .csproj file's TargetFramework from net...
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
Solved
I'm trying to get the dispatcher of the main thread in the following way:
public partial class MainPage
{
public MainPage()
{
InitializeComponent();
}
private async void OnButtonClick...
5
I am getting an exception in my WinUI3 app that Microsoft.ui.xaml.dll is unable to load. I have included Microsoft.UI.Xaml and Microsoft.Graphics.Win2D in nuget.
System.DllNotFoundException
HResul...
Okra asked 24/11, 2021 at 17:47
3
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 ...
3
Solved
I am trying to do a simple page navigation but I am unable to find any documentation on how to do so in WinUI 3.0.
Currently, when I create a Blank App using WinUI 3.0, I get the following code cre...
4
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 t...
1
Solved
I have a Winui 3 application. I need to open a new window in secondary monitor once user clicked on a button. I found below post which works for UWP.
Open new window on secondary monitor in UWP
How...
Hambrick asked 21/5, 2023 at 10:23
2
Solved
I am using the following code to start a WinUI3 App maximized:
public MainWindow()
{
this.InitializeComponent();
var windowHandle = WinRT.Interop.WindowNative.GetWindowHandle(this);
var window...
3
Solved
I'm finding it awfully hard to see how to simply cover a rectangular XAML element with repeating copies of a bitmap! I am using WinUI 3 with Windows App SDK. I would like to use the repeating image...
Science asked 22/11, 2022 at 5:14
1
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.application...
2
Solved
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 ...
Embroider asked 8/11, 2022 at 7:6
1
I have tried multiple things to rotate the Image, but it keeps ending up outside of the original bounds of the Grid (and even the Window!) that the unrotated Image takes up.
The XAML is straightfor...
Boarder asked 15/11, 2022 at 14:35
1 Next >
© 2022 - 2024 — McMap. All rights reserved.