2,781 questions with Windows Presentation Foundation tags

Sort by: Updated
2 answers

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
asked 2024-10-17T16:48:20.34+00:00
S Abijith 386 Reputation points
answered 2024-10-18T08:59:21.69+00:00
Love Text Hubs 0 Reputation points
1 answer

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,578 questions
asked 2024-10-15T09:34:01.83+00:00
Tim siktas 0 Reputation points
commented 2024-10-18T07:44:06.4333333+00:00
Hongrui Yu-MSFT 2,075 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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 =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,877 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
asked 2024-10-13T17:20:30.0533333+00:00
Vishal2 Bansal 145 Reputation points
accepted 2024-10-17T06:15:02.3233333+00:00
Vishal2 Bansal 145 Reputation points
1 answer

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
asked 2024-10-08T14:42:51.84+00:00
Ajay Gera 40 Reputation points
commented 2024-10-17T05:52:12.3866667+00:00
Hongrui Yu-MSFT 2,075 Reputation points Microsoft Vendor
3 answers

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
asked 2024-10-06T10:13:18.32+00:00
fatih uyanık 100 Reputation points
commented 2024-10-17T05:37:18.7666667+00:00
Hongrui Yu-MSFT 2,075 Reputation points Microsoft Vendor
1 answer

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,729 questions
asked 2024-10-07T22:53:26.74+00:00
zleug 51 Reputation points
commented 2024-10-17T05:22:40.7133333+00:00
Hongrui Yu-MSFT 2,075 Reputation points Microsoft Vendor
3 answers

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
asked 2024-10-02T12:49:07.14+00:00
fatih uyanık 100 Reputation points
commented 2024-10-17T01:41:53.7533333+00:00
Jack J Jun 24,506 Reputation points Microsoft Vendor
1 answer

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…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,642 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
asked 2024-10-03T02:05:10.09+00:00
MERUN KUMAR MAITY 596 Reputation points
commented 2024-10-16T07:00:26.8833333+00:00
Jack J Jun 24,506 Reputation points Microsoft Vendor
0 answers

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,724 questions
asked 2024-10-15T20:43:28.44+00:00
rakesh kumar 0 Reputation points
edited a comment 2024-10-16T03:28:26.4066667+00:00
Hongrui Yu-MSFT 2,075 Reputation points Microsoft Vendor
0 answers

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…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,427 questions
Universal Windows Platform (UWP)
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,357 questions
asked 2024-10-11T06:40:18.12+00:00
Jayden Xia 0 Reputation points
commented 2024-10-15T01:25:47.7033333+00:00
Minxin Yu 11,756 Reputation points Microsoft Vendor
4 answers

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
asked 2022-02-16T08:48:22.167+00:00
Anto BAro 86 Reputation points
edited the question 2024-10-14T16:20:29.37+00:00
TP 96,331 Reputation points
1 answer One of the answers was accepted by the question author.

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"        …

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
asked 2024-10-11T04:31:36+00:00
c00012 741 Reputation points
accepted 2024-10-11T07:44:56.9333333+00:00
c00012 741 Reputation points
0 answers

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
221 questions
asked 2024-10-04T14:07:53.0266667+00:00
Ajay Gera 40 Reputation points
edited a comment 2024-10-10T09:03:52.27+00:00
Tianyu Sun-MSFT 30,821 Reputation points Microsoft Vendor
2 answers

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
asked 2024-09-27T15:19:25.7666667+00:00
Ajay Gera 40 Reputation points
commented 2024-10-08T09:51:32.8233333+00:00
Hongrui Yu-MSFT 2,075 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
asked 2024-10-06T15:08:00.5766667+00:00
Heiko 1,261 Reputation points
accepted 2024-10-07T16:03:53.51+00:00
Heiko 1,261 Reputation points
1 answer

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
asked 2024-09-18T06:11:26.24+00:00
HoWe Yu 41 Reputation points
commented 2024-10-07T09:34:13.6+00:00
Hongrui Yu-MSFT 2,075 Reputation points Microsoft Vendor
2 answers

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
asked 2024-09-23T09:01:07.6966667+00:00
fatih uyanık 100 Reputation points
commented 2024-10-07T09:32:27.3633333+00:00
Hongrui Yu-MSFT 2,075 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
812 questions
asked 2024-10-06T11:49:55.66+00:00
StreamingMoon 20 Reputation points
accepted 2024-10-07T03:45:22.84+00:00
StreamingMoon 20 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,729 questions
asked 2024-10-05T20:45:31.9433333+00:00
RogerSchlueter-7899 1,321 Reputation points
accepted 2024-10-06T04:28:48.5933333+00:00
RogerSchlueter-7899 1,321 Reputation points
3 answers One of the answers was accepted by the question author.

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

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,781 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
812 questions
asked 2021-09-30T08:50:08.393+00:00
XAML WPF Developer 36 Reputation points
edited the question 2024-10-03T09:29:24.9333333+00:00
Jack J Jun 24,506 Reputation points Microsoft Vendor