Identify Mutual Authentication request at LDAPs
Hello All, We have a WPF application built on .Net Framework 4.8. This application acts as an LDAPs client for authentication purposes. The LDAPs server being used has provision for enabling mTLS. When mTLS is enabled, the client application needs to…
How can i correct a script that is not working in powershell and wpf displaying a active directory treeview
I don't want to load everything at the same time but when i click on a node display inside objects only permitting to not freeze the load , as almost is done in dsa.msc on active directory. Code copy below: this script was given by chatgpt and i…
I want to Understand the Rendering Modes in WPF application.
Recently i came across this section of code on Stackoverflow. void myClass_SourceInitialized(object sender, EventArgs e) { Log.Info("myClass_SourceInitialized"); System.Windows.Interop.HwndSource source =…
Jaws screen reader /Narrator does not read selected value of combo box control which contains tree view control in wpf
Hi, I have created one combo box control and inside ComboBox.Template I have added one tree view control. Basically one Combobox user control which on expanding shows contents as treeview control. Combox selected item is bound with item which is selected…
How to Configure Library Files to Run in a Subfolder?
Hello There is a library named TolkDotNet.dll in a c# wpf project. This library references various dll files in the x86 and x64 folders. To get rid of the file confusion, I placed them in the Lib folder as TolkDotNet, x86, x64. Then I showed the…
populate TextBoxes base on date value selected in DatePicker
Hi All. In form of WPF VB.Net project I would like to populate 3 TextBoxes base on selected in DatePicker date value of Monday. The first TextBox named txbWeek will display the number of week of the month depending on the selected date in the…
How Can I Register and Manage Services in a Large C# Project?
Hello I will start developing a new C# WPF project. I need your information on something while planning. I will use the MVVM pattern in the project. I will create a large number of services to perform some tasks and use them in the relevant classes. I am…
How to Write a DependencyProperty for a TextBlock when it is a child element of a parent Button class in WPF C#?
Hi there, I want to make a Dependency Property for a Text Block and the functionality of this property is to apply a Scale Transformation on the Text Block but I am unable to do that Because it's a child element inside of a Button class. I have a…
WPF Bitmapimage resizing is messed up in windows 11 24H2
There is a WPF ImageControl that takes local file as source. Before saving it on server, I am trying to resize the image so that I dont store huge files. I am also trying to reduce the image quality if image size exceeds 12 kb even after resizing. But in…
Are ESim related WinRT APIs require Package Identity?
Hi, team I am trying to use WinRT API (under name space Windows.Networking.NetworkOperators) to read ESim ID on my laptop. I created a UWP App and this api worked. However the project i'm working on is not a UWP app and it's based on .NET 4.6. I imported…
MVVM binding is not updating UI element
Hi everyone, my issue is I don't update the user interface (TextBlock). In summary: by executing a method under translation (ImportData, which performs a series of Inserts in an MS SQL DB) the textblock should contain the time as the Insert proceeds…
I can't change property of a button....
Hello, I wrote an app has 1 datepicker, 2 textblocks, 2 textboxes, and 2 buttons. My problem is one of the buttons remains unabled like below. xaml code for this view is: <Window x:Class="WpfApp3.MainWindow" …
Theming of WPF dialog not working for all controls on the dialog
Hi, I need to change color/theme of all controls on WPF dialog whenever there is change of theme from VS2022 (i.e. Tools -> Options -> Color Theme ) I followed below MSDN…
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…
Performance when loading list elements
I have about one hundred entries in a list. These are of data type DataA. A single entry within this list is of the data type DataB. DataB is derived from DataA. During debugging, I see in the output window that for all list elements of the data type…
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…
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…
WPF TextBox Style Customization: CaretBrush Disappeared After Trigger Setup
Seeking assistance with customizing the style properties of a TextBox in WPF: Background: MouseOver #505050 & not MouseOver #303030 Foreground: #FFFFFF BorderBrush: MouseOver #868686 & not MouseOver #666666 CaretBrush Despite setting up…
How to Use a Collection in Multiple Windows
I have a Public Module named "GlobalElements" that contains a Public ObservableCollection(Of Widget) named ocWidgets. I want to use ocWiddgets as a ItemsSource for ComboBoxes on multiple wpf windows. In the XAML for such a window I tried what…
How to create Custom Window Style in WPF [Drag Window]
Hi To All, How to create Custom Window Style in WPF with Drag-able window