2,703 questions with Windows Presentation Foundation tags

Sort by: Updated
2 answers

How Can I track the Last DPI which is sent by WM_DPICHANGED in WPF?

I want to scale my WPF application according to available screen DPI. I know there Per Monitor DPI aware available but that are completely different what I want to achieve. I want to disable scaling for my WPF application even if windows has some scale…

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,703 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,491 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,555 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,607 questions
asked 2024-06-23T21:10:17.6933333+00:00
MERUN KUMAR MAITY 531 Reputation points
commented 2024-06-28T22:24:38.2733333+00:00
MERUN KUMAR MAITY 531 Reputation points
0 answers

How to draw 3D scatter graph and Heat map using input CSV/Excel data in WPF app?

I have a WPF app and need to have scatter graph in 3D. By taking the input either CSV or Excel file and plot a graph and Heat map. Unable to figure out any alternative for this. With the help of "Oxyplot" package scatter map is done but not…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,559 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,703 questions
asked 2024-06-27T12:43:02.1333333+00:00
Santhosh Badam 20 Reputation points
commented 2024-06-28T10:05:41.77+00:00
Santhosh Badam 20 Reputation points
0 answers

Data is not populating in WPF Form

I am working on a VSTO Excel Addin and on a button click I am opening a WPF form. case 1: I am working on a Citrix environment and Citrix opened on a single screen now I open excel and click on my ribbon button and my WPF form is working fine. But when 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,703 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,638 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,555 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,671 questions
asked 2024-06-27T10:30:54.05+00:00
Abhishek Bali 0 Reputation points
edited the question 2024-06-28T02:33:14.1666667+00:00
Jiachen Li-MSFT 28,001 Reputation points Microsoft Vendor
1 answer

COM Interop of WPF Custom Control - Access denied about the registry key HKEY_CLASSES_ROOT\...

Hi, I have a problem building a project. My purpose is to build a WPF Custom Control in order to use it in MFC. But the build cannot be done. The following informations are what I am through right now: Project Type: WPF Custom Control…

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,703 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,555 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,607 questions
asked 2022-11-18T06:23:58.273+00:00
Modi 1 Reputation point
commented 2024-06-27T21:18:08.4866667+00:00
Zoran Bertalanić 0 Reputation points
1 answer

How to Protect a WPF Application from Reverse Engineering and Secure

I have built a WPF application and have recently deployed it into production. My primary concerns are ensuring the security of the application and protecting my source code from reverse engineering. I would like to understand the best practices and tools…

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,703 questions
asked 2024-06-26T08:01:17.5666667+00:00
sam sam 0 Reputation points
answered 2024-06-27T03:24:52.8966667+00:00
Hongrui Yu-MSFT 775 Reputation points Microsoft Vendor
2 answers

How do you use the 26100 SDK with .NET?

Using the latest visual studio, all current updates, build system is OS version 22621, deploying to OS version 26100. 26100 SDK is installed from Visual Studio installer. Create a blank "WPF Application" project from Visual Studio Target…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,559 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,703 questions
asked 2024-06-21T20:42:25.8866667+00:00
yoyodyne01 46 Reputation points
answered 2024-06-25T18:07:10.4066667+00:00
yoyodyne01 46 Reputation points
1 answer One of the answers was accepted by the question author.

How to refresh the database connection in WPF application.

I have a Oracle19c database is connected to 4 machines having WPF applications with MVVM pattern and follows entity frame work. So from this following query SELECT MACHINE FROM v$session WHERE USERNAME = 'C##SAN' AND STATUS = 'ACTIVE'; and also using…

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,703 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,813 questions
asked 2024-06-19T04:59:41.0466667+00:00
Santhosh Badam 20 Reputation points
accepted 2024-06-25T09:15:25.8666667+00:00
Santhosh Badam 20 Reputation points
1 answer

How to reference global resources in user controls in wpf class library projects

I created a WPF class library, and then added a UserControl "Card.xaml", and a resource dictionary "GlobalRes.xaml", I hope to use the style resources in GlobalRes in the Card control. As shown…

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,703 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,555 questions
asked 2024-06-21T05:17:59.38+00:00
HoWe Yu 41 Reputation points
answered 2024-06-21T06:28:41.0333333+00:00
Hongrui Yu-MSFT 775 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to add alphabet access key to a Button with Chinese content?

I read from MSDN that I can use the following XAML code to add access key to a Button. <Button Click="edit_Click"> <AccessText>_Edit</AccessText> </Button> <Button…

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,703 questions
asked 2024-06-20T08:22:42.4966667+00:00
William Liu 326 Reputation points
accepted 2024-06-20T23:54:14.36+00:00
William Liu 326 Reputation points
4 answers

How to refresh the database connection in WPF with Entity framework having Oracle database in MVVM?

I have a WPF with Entity framework having Oracle database also follows MVVM pattern. So I need to create a link such a way that if on click the link that refresh the database connection means need to reconnect to the database. Please help me for this.

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,703 questions
asked 2024-01-24T05:38:28.6033333+00:00
SANTHOSH B 20 Reputation points
answered 2024-06-20T10:14:10.06+00:00
DIVYESH SHARMA 0 Reputation points
0 answers

Cannot install .net framework 4.8 (KB4486153) on windows 10 LTSC 2019(1809)

CBS logs: 2023-02-19 00:07:01, Error CSI 0000035c@2023/2/18:16:07:01.974 (F) onecore\base\wcp\componentstore\csd_winners.cpp(1756): Error 80092004 [Warning,Facility=FACILITY_NTSSPI,Code=8196 (0x2004)] originated in function…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,028 questions
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.
4,983 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,559 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,703 questions
asked 2023-02-18T16:23:20.0966667+00:00
強 劉 0 Reputation points
commented 2024-06-19T12:40:48.96+00:00
Florin Tecar 0 Reputation points
1 answer One of the answers was accepted by the question author.

Can Desktop Applications Be Used in Azure/ISV Environment?

This is a very basic and generic question, but no answers were found in searching the internet. Can a desktop application (WPF/WCF) run in Azure/ISV environment? I know that an Azure VM can host a desktop/client-server application, but that's not what…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,559 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,703 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,555 questions
ISV (Independent Software Vendor)
asked 2024-06-11T22:32:46.7633333+00:00
TJ Fan 25 Reputation points
accepted 2024-06-18T21:51:35.4066667+00:00
TJ Fan 25 Reputation points
1 answer

How to disconnect a BLE device after successful connection

I have successfully connected to BLE device by using BluetoothLEDevice.FromIdAsync(deviceInfo.Id) and bluetoothLeDevice.GetGattServicesAsync(BluetoothCacheMode.Cached) API's in unpaired mode over Windows 10 with .NET Framework 4.7.2 but I was…

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,703 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,555 questions
asked 2024-06-13T10:31:14.1533333+00:00
Prajnith Kumar 0 Reputation points
commented 2024-06-18T10:21:55.9533333+00:00
Hui Liu-MSFT 47,176 Reputation points Microsoft Vendor
2 answers

How to get free data hosting for C# desktop application?

Hello I want to design an application with multiple users in my C# wpf project. In short, with the application, users will be able to send and receive some non-large-scale data. Since I don't have the budget, I want to do this for free. I thought of…

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,703 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,555 questions
asked 2024-06-14T09:36:20.88+00:00
fatih uyanık 80 Reputation points
answered 2024-06-17T09:29:33.7433333+00:00
Hongrui Yu-MSFT 775 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Where can I find the code for this? WPF Resizing Controls at Runtime

https://www.youtube.com/watch?v=ykphg1P2_ag I need to do something similar to this and I'd like to look at the code for it. This video doesn't give enough detail. Please help, thanks!

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,703 questions
asked 2024-06-11T21:52:20.69+00:00
Michelle Nieman 20 Reputation points
commented 2024-06-12T14:55:56.5233333+00:00
Michelle Nieman 20 Reputation points
0 answers

RemoteCertificateValidationCallback is triggered multiple times

Hi All, We have a WPF application built on .Net Framework 4.8. We are using HTTPs protocol to connect to a device to execute a few commands. We use the RemoteCertificateValidationCallback for validating the certificate. Initially, we open an Https…

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,703 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,555 questions
asked 2024-06-10T11:56:43.8033333+00:00
S Abijith 346 Reputation points
edited a comment 2024-06-11T09:45:23.3133333+00:00
Hui Liu-MSFT 47,176 Reputation points Microsoft Vendor
0 answers

Certificate Revocation List

Hi All, We have a WPF application built on .Net Framework v4.8. This application acts as an HTTPs client. We are currently performing the certificate check using 'RemoteCertificateValidationCallback' method (except CRL). We now need to perform CRL…

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,703 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,555 questions
asked 2024-05-14T06:33:05.25+00:00
S Abijith 346 Reputation points
commented 2024-06-11T09:28:51.32+00:00
S Abijith 346 Reputation points
1 answer One of the answers was accepted by the question author.

How to reproduce the UI control from mock-up using wpf?

Hi Team I have a mock-up and want to reproduce it using wpf controls given by Microsoft forms in windows. Below is my current code and need some adjustment, as well screen shot of the mock-up want to produce using wpf ui controls. ``

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,703 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,555 questions
asked 2024-05-28T16:45:17.65+00:00
Gcobani Mkontwana 60 Reputation points
accepted 2024-06-10T18:55:07.9933333+00:00
Gcobani Mkontwana 60 Reputation points
0 answers

WPF app not starting silently

Hi Folks, I have this strange problem: I created a new WPF project, when I press the Run button the app seems to start for bit, by briefly flashing a white screen and then immediately exists. There are no errors flagged other than a return code of 0, I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,559 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,703 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,324 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,813 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
961 questions
asked 2024-06-05T08:40:27.6333333+00:00
stephen Makumbi 5 Reputation points
edited a comment 2024-06-06T14:35:11.9833333+00:00
stephen Makumbi 5 Reputation points
1 answer

System.Net.Http dll not loading issue in .Net Framework 4.8 project

Hi Team, I have a ClassLibrary 1 project targeting .Net Framework 4.6 refering "System.Net.Http" of dll version 4.1.1.3 ClassLibrary 2 project targeting .Net Framework 4.6 refering "System.Net.Http" of dll version 4.1.1.3 WPF…

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,703 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,555 questions
asked 2024-06-04T10:36:45.6233333+00:00
Thejesh Pushpala 21 Reputation points
answered 2024-06-05T09:35:16.4866667+00:00
Hongrui Yu-MSFT 775 Reputation points Microsoft Vendor