281 questions with no answers
-1
votes
0
answers
28
views
Casting from list of VirtualKey objects to RegisterHotKey
I'm using DevWinUI's shortcut control but I'm confused on how to get the key and modifiers from it and then casting it to the proper types for RegisterHotKey.
The shortcut control returns public new ...
0
votes
0
answers
67
views
WinUI ItemsRepeater weird behavior
I'm using the header of the listview to filter item inside it.
What I'd want, would be, to have the TextBox Collapsed by default and on PointerReleased on the TextBlock to put it Visible.
When ...
0
votes
0
answers
106
views
Using DataGrid Class (CommunityToolkit.WinUI.UI.Controls) in a XAML island from a C# Class Library
I have the following setup : I am display WinUI3 elements from a C# Class Library in a Win32 C++ app using XAML islands, the control that I want to use is a CommunityToolkit.WinUI.UI.Controls DataGrid ...
0
votes
0
answers
108
views
Is there a way to preview and print reports in .NET WinUI 3?
I have my desktop application in .NET WinUI3 and I don’t know how to design and print reports. I’ve tried designing them in FastReport, in a separate app on my computer, and importing the .frx
enter ...
0
votes
0
answers
96
views
WinUI 3 / MSIX app creates new OneDrive AppFolder (“My App 1”) instead of using existing (“My App”)
I’ve migrated my UWP app to WinUI 3 with MSIX packaging, and also updated Microsoft Graph SDK from 4.x to 5.x. The original UWP app uses OneDrive’s special.AppFolder to store user data, which created ...
0
votes
0
answers
116
views
Where are these runtime startup/shutdown errors coming from using C++ WinRT/WinUI-3?
I have created a small C++ WinRT/WinUI-3 project to isolate the errors I've been experiencing. I start with a Blank App, Packaged (WinUI 3 in Desktop) using VS2022 V17.13.6 solution. Then I strip out ...
0
votes
0
answers
50
views
Widget for viewing tabular data
Is it possible to create a widget in WinUI3/C++ that would look like a table like it is done in File Explorer? So that there would be headers, by clicking on which you can sort the data by columns?
I ...
0
votes
0
answers
101
views
WinUI 3 - ItemsView Scrolling shortcommings
after years of labwork i found out WinUI 3 itemsview has the smoothest scrolling trough my data, and by far the quickest media loading. i dont even require to handle thumbnailing anymore because its ...
0
votes
0
answers
92
views
Blocking WinUI dialog call
Related to a previous question in which a for loop wouldn't work, I 'm trying to replace a MessageBox() call to a WinUI content dialog, which means that the call must block for the caller.
After some ...
0
votes
0
answers
113
views
Dynamic Binding to Dictionary Values in WinUI 3 DataGrid
I'm developing a WinUI 3 app that displays a dynamic grid (using Syncfusion’s SfDataGrid) of employees and their SOP statuses. Each employee has a set of SOP statuses stored in a dictionary (keyed by ...
0
votes
0
answers
93
views
Internal error WMC9999 unable to convert types
I installed vs2022 v17.12 and soon after upgraded to 17.13.2. I have installed the NuGet package and all the other stuff (I'm pretty sure).
I created a new C++/WinRT/UI3.0 app using all the wizard ...
0
votes
0
answers
211
views
WinUI 3 amd/or UWP with Winforms XAML Islands Solution for .NET 6+
For understanding XAML Islands, I've gone through
https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/xaml-islands/host-standard-control-with-xaml-islands
and
https://learn.microsoft.com/...
0
votes
0
answers
81
views
In C# WinUI, why is the mouse in a "busy" state
I create a trayicon in C# WinUI project using Win32. I click the trayicon, the WinUI Flyout will show, but I do not know why if you do not move your mouse, the mouse always be a "busy" state....
0
votes
0
answers
147
views
Using enum as ComboBox value in WinUI3 doesn't work
Consider this XAML:
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBlock Text="Theme:" ...
0
votes
0
answers
129
views
How to start the app with the window maximized in WinUI 3?
As the title says, I can't find a way to do that, The screen presenter only allows me to start fullscreen which is something I don't want.
0
votes
0
answers
51
views
Why is my grid background showing over ItemsRepeater contents? WinUI 3
I've got an ItemsRepeater to show events over on a scrolling calendar view. This works well. I've been trying to find a lightweight way to show lines between days. I tried borders, but some of the ...
0
votes
0
answers
51
views
NetworkChange events will not fire when proxy server is used
I'm working on a WinUI3 project, one of the functions is to launch a application when internet is available (isInternetAvailable == TRUE), otherwise it will wait for NetworkChange events to try to ...
0
votes
0
answers
89
views
XAML element to print
Issue how to print a xaml element
How to access printer and print an xaml element. A page choose from navigation view.
I am using winui-3 and c++20. Created a blank app
The idea is only to print my ...
0
votes
0
answers
85
views
Windows.Services.Store.Store.StoreContext does not send notification of optional application updates
Discovered the problem while working with application updates in UWP/WinUI3. If I upload a new version of the application as optional updates and disable auto-updates in Microsoft Store, the code ...
1
vote
0
answers
81
views
How to securely publish a WinUI3 app that references a ResourceDictionary from a WinUI3 library project?
I have a main WinUI3 app and a WinUI3 library project. The library contains common converts and a resource dictionary. Structure:
WinUiLibrary/
├── ResourceDictionary.xaml
└── (Other source files and ...
1
vote
0
answers
171
views
Keyboard Accelerators Not Working Without Developer Mode in Windows 10 for WinUI 3 App
I'm developing a WinUI 3 application and using keyboard accelerators for various actions. However, I've noticed that some key combinations don't work as expected on Windows 10 unless Developer Mode is ...
0
votes
0
answers
44
views
how does data binding / sync working in winui3 c++/winrt
I wish to use mvvm instead of hardcoding all the change events in MainWindow. Tried lot of example deom different sources but not working with c++/winrt winui-3....
Main Window
File Mainwindow.xaml
&...
0
votes
0
answers
133
views
How can I get the app icon for any running app?
I am looking to create a custom taskbar in a WinUI3 app. I have code to get all open windows (based on this answer), but am now trying to get the icons associated with the process for each window. ...
1
vote
0
answers
96
views
Resolving Dependency Issues in MSIX Packaging of Console and WINUI3 Applications
I am encountering challenges with the MSIX packaging process for integrating a console application within a WINUI3 project, both intended to be included in the same MSIX package. To achieve this, I ...
0
votes
0
answers
97
views
Custom Windows Registry ID for WinUI 3 Notifications
enter image description here
How can I get a custom ID/Name for my WinUI3 program with notifications? Each time I start the unpacked program through the debugger or the .exe itself from any location, ...