Localize a DatePicker on Android using .Net Maui
Hi , i'm working with .net Maui 8 , and i want to use datepicker. it display name of days, months in English or i want it in french. i refer to learn page https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/datepicker?view=net-maui-8.0 …
NET MAUI V8.0 App - Issues with XAML page and await client.GetObjectAsync() for AWS S3 bucket
Hello, I am working on a NET MAUI V8 App that uses AWS S3 for file access. However, I am experiencing weird behavior when executing the following line of code: using (GetObjectResponse response = await…
How to save all the updates in a datagrid (set of comboboxes) MVVM back to the database in WPF C#?
I have similar issue as @Mesh Ka working on the filtering between comboboxes. https://learn.microsoft.com/en-us/answers/questions/1481853/filtering-a-combobox-in-a-datagrid-based-on-anothe Thanks for the solution! The challenge I have is to save all the…
WPF/XAML Add Item not working in C# Library Shared Project - VS 2022 V17.6.3
I am working on a .net 4.8 c# library project and I am using a Shared Project within it to help with versioning. When I attempt to add a WPF User Control under the shared project, it is not an available template. If I create it under one of the other…
Windows Presentation Foundation (WPF) end of life
Hi All, I would like to know if anyone has any information on future roadmap for WPF. Is there any date for microsoft retiring WPF and removing future support? Thanks in advance Narayanan
NET MAUI - MediaElement - Not playing Audio Files stored on Google Drive
Hi I am using MediaElement to play Audio Files (.mp4) that are stored on my Google Drive,. But this is failing with error: [0:] MediaManager: Error: Error codename: ERROR_CODE_PARSING_CONTAINER_UNSUPPORTED, Error message: Source error The following is a…
How to use TextBlock focus to allow Screen reader / Narrator application reads the content
We are using custom TextBlock control in our app to display the descriptions to our users. Using Keyboard 'tab', the focus is not received, and the screen reader / Narrator application does not read the content. Are there any solutions to address this…
TreeViewDragItemsCompletedEventArgs.NewParentItem null
Hi, I added an event handler for the TreeView.DragItemsCompleted event, and the eventargs' NewParentItem is always received as null. The item was dragged within the tree onto another node in the tree.
How to access or share resource dictionary between MAUI application and library
I have a ContentPage in a MAUI library which is referring to a color defined in the resources of the App.xaml which is in the main MAUI project. ContentPage in Library uses: BackgroundColor="{StaticResource White2}" App.xaml in the MAUI…
Converting the PDF to a bitmap image corrupted the text content of the PDF.
I have a PDF document and using the below code logic, I am trying to convert the PDF page to an image. After converting the image, the text content in the PDF displayed as corrupted. PQ-376500-STR-FDN-KZV-00011-001.pdf |Stream PdfStream =…
PrintTaskOptions throws Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
Hi Team, We are trying to invoke a print preview from the stream of PDF documents. While invoking the print preview we are receiving Catastrophic failure from the PrintTaskOptions while creating print preview pages. We have tried the following methods…
WinUI - MessageDialog in App.xaml.cs does not work
Before the MainWindow is created and called, the programme should establish a connection to the database and read data. In case of an error, a message should be displayed and the programme closed without the main window appearing. I have tried various…
Can i run .NET 6.0 WPF app on Linux ?
i am developing a WPF application using the last .NET 6.0 version and VS22 which is declared as cross-platform so can I run the same WPF app developed on .NET 6.0 and VS22 on Linux UBUNTO 20.4 ? i saw only example of running Console app ?
How to make narrator do not repeat the sentence when off/on content is set at toggle switch in UWP?
I am currently implementing a custom ToggleSwitch in UWP based on Microsoft's template. However, I've encountered a peculiar bug related to the narrator behavior, which seems to be resolved in WinUI 3 but persists in UWP (WinUI 2). I'm seeking assistance…
WinUI - Event to Check if High Contrast was chosen
I have a WinUI application and I need to check if the user change the OS theme to High Contrast. I got this error when signed this event to identify if HighContrast was set. It is the same event to UWP, but in WinUI this error happens.
How to use different Data Types in a Custom Control
I have a Custom NumericUpDown control in my WPF C# .NET 8 application that is working nicely, But now i want to update it so that it can use different Numbers DataTypes like int and decimal so that i can re-use my custom NumericUpDown control instead of…
Xaml and column format in CollectionView
Hi Friends, I have this CollectionView below where my columns are not left aligned properly. How do I clean this up so that my labels in the columns are aligned correctly. Thanks ! Screenshot 2024-02-12 104906.png …
problem with Custom ComboBox not raising notification changes during SelectedItem change
Hi, in my wpf C# .net 8 application i have a custom Control composed of a Label and ComboBox, the problem i am experiencing is that the Custom Control's ComboBox doesn't raise the SelectedItem change in the ViewModel, then i decided to test it with a…
I want to turn on the PC from sleep mode on windows 10/11 programmatically in WPF (.net framework) C# application. How to achieve it ?
I want to perform windows sleep turn on and then wake up the PC after some time say 2 days later. I have two options :- Either programmatically sleep the pc and wake it up later automatically(but it requires manual entering of password to pc after…
How to bind a attached property in MAUI(XAML)?
A simple label <Label x:Name="llll" FontSize="16" extensions:CommandParameterHelper.Parameter="content" Text="{Binding…