JAWS or windows narrator not working for label and tooltip for c# wpf application
Hi, I am using JAWS screen reader / windows narrator on wpf dialog for wpf application. But reader does not says about label text and tooltip on hovering on the label. I have used AutomationProperties.Name , AutomationProperties.LabeledBy as per link…
JAWS or windows narrator not working/announcing localized description of enum bind to combo box for wpf application
Hi, I am using JAWS screen reader / windows narrator on wpf dialog for wpf application. But reader does not says/announce/speaks about description of enum bound to combobox in WPF c# application. Screen reader speaks/announce enumerator rather than…
How we can achieve Theming WebView2 content in Visual Studio 2022 WPF application?
How we can achieve Theming WebView2 content in Visual Studio 2022 WPF application? I have worked on vscode code extension and I have used webviews to display contents or various controls like combo box , button , textbox etc. Webviews can access VS Code…
What Can I Use for Application Update?
Hello I developed a WPF application with C#. I also uploaded the application to Github. My goal is to update the applications distributed to users with the new version as the application is developed and new features are added. I do not have the…
How to make the Popup control in WPF ignore mouse events
I want to implement a function: display Popup when the mouse enters the Grid, update the Popup position when the mouse moves, and close Popup when the mouse leaves the Grid. This is my current xaml and cs: MainWindow.xaml <Window…
Question about dotnet SDK version and Runtime version
I always update my dotnet SDK to the latest version for developing WPF applications. Does it mean the customer who run run my app also need the latest runtime to be installed? For example, I am using SDK 8.0.401 now, does it matter if the customer PC is…
How can I create a clean project folder structure?
Hello I use many libraries that I downloaded from Nugget in a wpf c# project. These libraries are normally located under the "Bin" folder. I want to create a cleaner folder structure. For this, I want to collect these libraries under a folder…
How to get the resource key from a control?
How to get the resource key from a control? Wpf control can use the pre-defined resource in runtime. Is it able to get the resource key from a control? And how? Thanks! <Window x:Class="GetResourceKeyWpf.MainWindow" …
Is it possible to read/store/retrieve data from Excel spreadsheet from Share point site to WPF application?
Hi, I have connected to Share Point site referring the following blog: https://www.c-sharpcorner.com/article/sharepoint-csom-for-net-standard/ I have created a sample test spreadsheet in the Documents Library named *testSpreadSheet.xlsx * I have a…
Using Renegotiation in C#
Hi All, We have a WPF application built on .Net Framework 4.8. This application acts an HTTPs client. We are currently using the code provided in the attached file for HTTPs communication. This code is used to run a sequence of commands one after…
How Can I call RuntimeHostConfigurationOption OnStartup of a WPF (C#) application in .NET 8?
Hi there, I have a WPF application where the UI is a very important thing and heart of the application. Due to some UI elements requirements I have some custom RuntimeHostConfigurationOption which I put in my WPF application through the *.csproj file. I…
How to set PerMonitor DpiAwareness for .NET 8 Windows desktop application in WPF?
Hi, I am having problem setting WPF window based desktop .NET 8 application to work as PerMonitor DpiAware. System default automatic scaling schema... When user changes Windows 10 display setting scale, WPF-Window is being scaled accordingly. Also,…
Selected Item in ComboBox wpf with Binding
I have a listview, when selecting the listview I make a binding to an SelectedCategory property. When binding to Checkbox, Textbox an so works fine, but I can't find the right combination for the ComboBox no matter what I try. I know for sure, that the…
how update WebView2 control in C# WPF application as per Color Theme selected in visual studio 2022 like Light, Dark etc
how update WebView2 control in C# WPF application as per Color Theme selected in visual studio 2022. Color theme can be changed in visual studio 2022 from Tools -> Options -> Color Theme:
Passing variable argument in a loop to eventhandler
In WPF I have a Styles button in which I add items with the different styles: <Button x:Name="Form_Estilos"> <Button.ContextMenu> <ContextMenu x:Name="Form_Estilos_Items"/> <ItemsControl> …
Window.GetWindow() of TabItems content does not return the right window when TabItems State changes
When using TabControl in two windows, each TabItem contains a button with a click event that displays the parent window of the TabItem using Window.GetWindow(). After DragAndDrop a TabItem from one window to another, GetWindow() still returns the…
Can we store/retrieve data from Share Point list using a WPF C# application?
I am working on WPF C# application. Right now, I have the application connected to SQL database to store and retrieve data. However, I am curious to explore the options to replace it with Share Point List. So that, whatever the data I create using my WPF…
Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException: 'The property or field has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.'
Hi I am working with retrieving data from a SP list. I am able to connect to the list, get the list name and count the number of records (items) from the given list. Next, I wanted to get the data from a particular columns. Say I have the following…
How to Write/Store data in an Excel spreadsheet that is located at Share Point?
I am working on writing or storing the data into Excel spreadsheet that is located at a Share Point site. I am able to connect to the Share Point site and obtaining the excel spreadsheet by passing the relative URL. Using Memory Stream, the contents of…
Using the method suggested by Microsoft for a WPF-Blazor hybrid app, an exception is thrown if any of the blazor pages is set to an interactive server render mode
Basically, I'm trying to build a hybrid app with a Web version and a Windows version. I've tried following this tutorial: https://video2.skills-academy.com/en-us/aspnet/core/blazor/hybrid/tutorials/wpf?view=aspnetcore-8.0 However, there are a few pages in my…