Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
76 views

I am implementing a custom control based on CalendarView and have an undesired strikethrough line going through today, like this: My CalendarViewDayItemStyle is defined as following: <CalendarView....
Den's user avatar
  • 16.9k
0 votes
1 answer
84 views

I am getting an ObjectDisposed Exception when adding and removing items from an Observable Collection. Adding If I add one new item to the collection it works fine, but if I try to add a second in the ...
Nuvolari's user avatar
  • 1,175
0 votes
2 answers
131 views

I am creating a simple calculator app in WinUI with C#. I am using the Compute method in DataTable to solve the arithmetic problem. AnswerBox is a label where numbers and operators are appended, and ...
Ninad Kulkarni's user avatar
0 votes
1 answer
85 views

I'm writing an MVVM application in WinUI3, and I've run into behaviour which I don't understand. Currently my main view hosts a NavigationView control. This control contains a Frame control, who's ...
Nadim's user avatar
  • 79
-1 votes
1 answer
152 views

I am trying to transfer a UWP project to Uno Platform. I want to run the app on Linux later and I am using VS22. The project uses OxyPlot to plot some charts and I am having problems to integrate ...
CHS's user avatar
  • 1
1 vote
1 answer
90 views

I'm implementing string localisation in a WinUI3 app as documented here on MS Learn (wayback machine). I noticed that giving an element an invalid x:Uid causes the lookup to quietly fail, and as such, ...
Josh Brunton's user avatar
0 votes
0 answers
97 views

(I don't think this is a dup of WinUI 3 ListView (or ScrollView) inside a ScrollView) If there are controls with scroll views (e.g. ListView) in another control with a scroll view (e.g., ItemsView), ...
Karmeye's user avatar
  • 1,555
1 vote
1 answer
86 views

I am using a NavigationView in a WinUI desktop app in a Widows 10 machine. The selected underline i from the NavigationView should cover the whole text, but it doesn't. Is this a design bug, or is ...
Carlos Costa's user avatar
0 votes
1 answer
258 views

I have implemented a ItemsView according to the descriptions in the WinUI 3 Gallery app. How do I disable the hover effect that occurs when mouse over each item (item becomes darker)? Thanks
Karmeye's user avatar
  • 1,555
1 vote
0 answers
31 views

I'm working on a small hobby project. I was trying to package a WinUI application witch uses LiveCharts. However I'm getting an error when packaging the application. Anyone who has experienced ...
Örn Haraldsson's user avatar
0 votes
0 answers
47 views

Is there a pattern or technique to handle multiple calls to update the UI thread at the same time? Let me explain my issue. I have a WinUI (.net 7.0) application. I understand that the UI has a main ...
Mal Clarke's user avatar
2 votes
1 answer
219 views

I wonder if it‘s somehow possible to embedd a classic WinForms Application inside a WinUI 3 Application, Like it was possible with WinFormsHost in a WPF Application? The goal is to open WinForms ...
Manuel's user avatar
  • 675
0 votes
1 answer
57 views

I want to parse an input string and bold/italicize/underline the portions of the text encapsulated within certain characters. Ex: I have had a _really_ *bad day*. In this case, "really" ...
deskplace's user avatar
1 vote
3 answers
2k views

Basically what my problem is: I'm trying to display a ContentDialog in my WinUI 3 App. The command to open the Dialog is triggered by a ContextMenu Button on my "Main Page" (LibraryPage) The ...
Andi's user avatar
  • 23
0 votes
2 answers
812 views

I want to set the background color of the control Expander in my WinUI3 app. By setting the background property to a certain color only the color of expanded panel will be set. <Grid Background=&...
Rena821's user avatar
  • 401
0 votes
1 answer
262 views

I am using the WeakReferenceMessenger in CommunityToolkit.MVVM in my WinUI3. It is my understanding that by using the WeakReferenceMessager I do not need to worry about the recipient object's lifetime....
user1757226's user avatar
0 votes
1 answer
67 views

I'm working on a document viewer for a WinUI application. In general it works, except that the scroll viewer height does not change. So when zooming in the image, the scroll viewer does not change and ...
BitKFu's user avatar
  • 3,707
0 votes
2 answers
279 views

I have the following problem. I have a packages winui program which should open a CANoe config when a button is pressed. Behind this CANoe config there are other SubFolder/Files which are also needed. ...
CheckItOut's user avatar
0 votes
1 answer
165 views

In our .NET MAUI application, we aim to determine if the Microsoft.UI.Xaml.Controls.Primitives.ScrollBar was pressed in WinUI platform. We've attempted to retrieve it by wiring PointerPressed and ...
Diwakar Venkatesan's user avatar
2 votes
2 answers
735 views

I want to change font in my WinUI 3 application. Just everywhere. I found a few answers here on SO, but they all seem to apply font to target like TextBlock, Button etc. The app I'm about to style has ...
Petr's user avatar
  • 354
0 votes
1 answer
322 views

I am making a WASDK WinUI 3 app. In my App.xaml.cs, I have this: public static XamlRoot AppXamlRoot { get; set; } Then, on my main window, I've got this: private void MainGrid_Loaded(object sender, ...
user21311740's user avatar
0 votes
1 answer
745 views

How am i supposed to Log to the Windows EventViewer in a WinUI3 App? I was not able to find a working example. Current Situation: In every .NET Framework app i used System.Diagnostics.EventLog to ...
c3rebro's user avatar
  • 45
0 votes
1 answer
69 views

I'm trying to create a tabview in my UWP app which has the 'mica' effect. What I'm looking for is something similar to the image I attached from the Files app. Here is my current code: <Page x:...
Zev G's user avatar
  • 101
2 votes
2 answers
510 views

I'm developing a WinUI3 based app and I need to restart the app to apply some settings. But I can't find a function to do that. I noticed that there is a method--CoreApplication.RequestRestartAsync. ...
Sciencekill's user avatar
1 vote
1 answer
259 views

The code below does not show a teaching tip-does anyone know how to make one show? <Window x:Class="WinUI3App.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/...
Siyh's user avatar
  • 1,809

1
3 4
5
6 7
15