Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
24 views

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 ...
Ryan Luu's user avatar
  • 631
-1 votes
1 answer
49 views

Hello people of Stack Overflow. Recently, I've been working on a project in WinUi3, and I haven't been able to find a way to set the content of a Button to a StackPanel. In WPF you could just do: ...
twn's user avatar
  • 9
2 votes
1 answer
46 views

In extension to this question How to unify ScrollViewer Scroll across two columns? I have implemented this correctly. For mouse scroll events and trackpad scroll events the ...
Bevara Satyasairam's user avatar
0 votes
0 answers
67 views

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 ...
Riddsaw's user avatar
  • 47
1 vote
1 answer
108 views

I want to design a continues moving "waterfall" to represent a radio spectrum. The way to do this in for example HTML5 is to draw 1 horizontal line at the top. Then copy the entire drawing ...
Imre's user avatar
  • 19
3 votes
1 answer
77 views

I am working on a winui3 app where I wanted to remove the opening and closing animations of a Content Dialog. I tried removing the visual transactions but the animations still exists. Am I doing the ...
Bevara Satyasairam's user avatar
1 vote
1 answer
75 views

I am working on a WinUI 3 application and need to display a line of text where only a portion of the text has a colored background (like a highlight). The requirement is: The text should wrap exactly ...
Bevara Satyasairam's user avatar
2 votes
1 answer
169 views

I followed several hints on how to get the "default browser" in windows, but they all are how to read the registry path from Current.User: Software\Microsoft\Windows\Shell\Associations\...
bobwki's user avatar
  • 952
2 votes
2 answers
80 views

I am trying to display items in a WinUI 3 ComboBox using SelectedValuePath and DisplayMemberPath. However, the ComboBox does not show the initial selected value. <ComboBox x:Name="...
kinton's user avatar
  • 409
0 votes
0 answers
45 views

Problem Toast notification buttons in an unpackaged WinUI 3 app don't trigger the OnNotificationInvoked event handler, despite proper event registration and manifest configuration. Symptoms Toast ...
John the horn's user avatar
1 vote
1 answer
47 views

I am using the CalendarView control in my WinUI 3 project. I want to hide the out-of-scope dates. I didn’t find any property for this. I can set the OutOfScopeForeground to match the calendar ...
Bevara Satyasairam's user avatar
1 vote
2 answers
140 views

I'm trying to create a custom button for a small icon but the button only show when i'm refreshing it in the xaml code or resizing window. Do you know how to make it show at the initiation of the ...
Riddsaw's user avatar
  • 47
0 votes
0 answers
105 views

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 ...
Iordan Bogdan's user avatar
0 votes
0 answers
77 views

I followed this tutorial https://learn.microsoft.com/en-us/windows/apps/develop/platform/csharp-winrt/create-winrt-component-winui-cswinrt and I would like to do the same thing but from a Win32 ...
Iordan Bogdan's user avatar
2 votes
2 answers
99 views

I am developing a WinUI 3 app in C#. I am using a SwapChainPanel and I want to handle keyboard input (for example, the Delete key) using the KeyDown event. However, the event never fires. Here is a ...
kinton's user avatar
  • 409
0 votes
1 answer
78 views

I have a WinUI3 c++ application that displays information in a Window. Once the contents of the window has been added, I am using the following code to measure the size of the contents of the window, ...
Graham Leggett's user avatar
2 votes
1 answer
127 views

I have customized GridView "UserDesktopGridView" on a UserControl called "DesktopView", and the GridView's "SelectionMode"="None". However, when the "...
Ming's user avatar
  • 595
1 vote
1 answer
73 views

I’m working on an app that is delivered for both platform UWP and WinUI 3. In UWP, when I misspell or provide an invalid FontFamily, it seems to fall back to Segoe UI Variable. However, in WinUI 3, ...
Rafael Nunes's user avatar
3 votes
1 answer
153 views

I have an ObservableCollection of Base Objects bound to a datagrid. I am trying to populate a DataGridComboBoxColumn with Enum values from a derived class instantiated in the observable collection. ...
gwiz_kid's user avatar
  • 143
1 vote
1 answer
82 views

I'd want to modify the event onmouverover directly in the style and not on the button. I'd like to do manage events in WinUI xaml like in css is it possible? Something like : .joinBtn:hover { ...
Riddsaw's user avatar
  • 47
1 vote
1 answer
47 views

I have a WinUI 3 app where I capture a photo with the following code: var cameraUI = new CameraCaptureUI(windowId); var file = await cameraUI.CaptureFileAsync(CameraCaptureUIMode.Photo); This opens ...
saied's user avatar
  • 35
2 votes
1 answer
93 views

I got an issue following WinUI tutorial. I followed the tutorial step-by-step with copy-and-paste code completion but, reaching the step "Create a page for a note" (specifically the point &...
El See's user avatar
  • 23
1 vote
1 answer
349 views

I believe my setup meets all the requirements on my Windows 11 24H2 machine but I can't find the "Blank App, Packaged (WinUI 3 in Desktop)" template. I have VS2022, installed .NET desktop ...
Omid Shojaee's user avatar
2 votes
1 answer
40 views

I'm building a WinUI 3 desktop application with a custom TitleBar. I've applied FlowDirection="RightToLeft" to the main grid in my MainWindow.xaml, but the caption buttons (minimize, ...
Abdul Saboor Habibi's user avatar
0 votes
1 answer
71 views

I'm developing a WinUI 3 desktop application using the "Empty App, packaged with Windows Application Packaging Project (WinUI 3 in Desktop)" template in Visual Studio on Windows 10 (build ...
Davide Mecozzi's user avatar

1
2 3 4 5
37