2,691 questions with Windows Presentation Foundation tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

How to make the Rectangle not response to mouse move?

I`m tring to draw a overlay transparent window with a red rectangle. It's a WPF Window. I am looking for how to make the rectangle not response to mouse move. Please see the screenshot for problem details. As you can see, when I move the cursor on top 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,691 questions
asked 2024-05-31T03:27:39.53+00:00
William Liu 286 Reputation points
accepted 2024-06-01T00:18:20.9333333+00:00
William Liu 286 Reputation points
2 answers

How to Detect Initial DPI changes in a WPF Application while Scaling according to Per Monitor Aware in Variable Dynamic Screen Resolution?

In daily life we have to deal with a lot of different types of display size it may be mobile or may be a 4k monitor. The screen resolution vary from display to display. Here another important factor is DPI (Display per inch) which is mainly a scaling…

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,881 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,691 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,419 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,571 questions
asked 2024-05-27T23:46:16.7233333+00:00
MERUN KUMAR MAITY 531 Reputation points
commented 2024-05-30T16:39:03.64+00:00
MERUN KUMAR MAITY 531 Reputation points
1 answer

How to get GPS location from built-in surface pro GPS without internet connection

I need to be able to get the gps location from the built-in gps on a surface pro tablet. This is a WPF application and all my research says to use the GeoCoordinateWatcher class in System.Device.Location. This only seems to work when the tablet is…

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,691 questions
asked 2024-05-29T12:53:10.7766667+00:00
Anders F 0 Reputation points
edited the question 2024-05-30T09:25:16+00:00
Anna Xiu-MSFT 26,731 Reputation points Microsoft Vendor
3 answers

Where is system.device.location?

I am trying to use the GeoCoordinateWatcher in my WPF application. Whenever I type the using statement "using System.Device.Location" I am told it does not exist. I have read that I have to add it as a reference but when I go to the list 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,691 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,419 questions
asked 2022-03-16T00:46:27.013+00:00
Ike 6 Reputation points
answered 2024-05-29T18:47:52.53+00:00
Bruce (SqlWork.com) 58,356 Reputation points
0 answers

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. <UserControl…

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,691 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,419 questions
asked 2024-05-28T16:45:17.65+00:00
Gcobani Mkontwana 40 Reputation points
commented 2024-05-29T07:17:17.3466667+00:00
Hongrui Yu-MSFT 420 Reputation points Microsoft Vendor
0 answers

Using User Control in WPF, How to create good UI grid?

Hi Team I have a mock-up and want to reproduce it exactly the same way using User controls offered by Microsoft forms in WPF. <UserControl x:Class="Feedmill_Weighbridge.Presentation.UCPremixPacks" …

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,691 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,419 questions
asked 2024-05-28T17:20:47.55+00:00
Gcobani Mkontwana 40 Reputation points
commented 2024-05-29T03:52:26.58+00:00
Hongrui Yu-MSFT 420 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to Increase/Decrease mouse pointer moving speed on a WPF application surface?

Hi there, I have a simple WPF application where I need to control the mouse pointer speed. Suppose I run the application and as soon as my mouse pointer enter the application area, the mouse pointer speed should be increase and I want some more…

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,691 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,455 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,419 questions
asked 2024-05-13T21:28:00.4833333+00:00
MERUN KUMAR MAITY 531 Reputation points
accepted 2024-05-25T14:34:14.33+00:00
MERUN KUMAR MAITY 531 Reputation points
4 answers One of the answers was accepted by the question author.

Is it possible to bind WPF DataGrid's RowState property to a property in the codebehind collection?

.Net 4.6.1 Given an ObservableCollection OC that is a collection of MyDisplayGrid MDG, and that OC has been set as the DataGrid's ItemSource Is it possible to bind (not display on the grid) the RowState property of the DataGrid to a property 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,691 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.
773 questions
asked 2021-12-24T00:03:07.887+00:00
Dave Cotton 41 Reputation points
accepted 2024-05-23T17:21:35.8966667+00:00
Dave Cotton 41 Reputation points
13 answers

Windows Media Player - visualization stops after the first track in the playlist

When a playlist is played back or when "Play all music", the set visualization stops after the 1st track. If you play the titles individually or switch on with a click of the mouse, the visualization works normally. This is only for mp3 tracks,…

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,691 questions
asked 2021-01-24T09:05:41.847+00:00
Josef Danksagmüller 56 Reputation points
answered 2024-05-22T18:15:59.83+00:00
Josef Danksagmüller 56 Reputation points
0 answers

How to Integrating Windows WebAuthn API with Custom Credential Provider in WPF C#

I've developed a Custom Credential Providers application that interacts with the Windows WebAuthn API's WebAuthNAuthenticatorGetAssertion() method for Authentication using Window Hello or External Fido2 Security Key. However, the CredentialUIBroker.exe…

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,881 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,481 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,691 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,419 questions
asked 2024-05-20T12:24:14.5966667+00:00
Harshit Patidar 0 Reputation points
edited a comment 2024-05-21T06:46:46.19+00:00
Hongrui Yu-MSFT 420 Reputation points Microsoft Vendor
1 answer

Displaying Fast Data

C# -> WPF -> .NET 6 Windows 10 64-bit, Visual Studio Community 2022 v17.9.2 I am writing a program in which I want to see the current from a 3-phase brushless DC Motor. Each phase will be displayed in a different colour to differentiate them. I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,481 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,691 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,419 questions
asked 2024-05-15T11:09:06.6233333+00:00
dmccric 0 Reputation points
commented 2024-05-17T08:34:30.4433333+00:00
Hongrui Yu-MSFT 420 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,691 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,419 questions
asked 2024-05-14T06:33:05.25+00:00
S Abijith 346 Reputation points
edited a comment 2024-05-16T13:49:35.85+00:00
Hui Liu-MSFT 44,631 Reputation points Microsoft Vendor
0 answers

Is there any other alternative to use the functionality of dragging and dropping an email item from new outlook1.2024.508.600 (Production) version( ) to WPF form using C#?

I have an existing functionality where I drag and email item from outlook and drop it in the WPF form and it is dropped there along with its attachments. This works fine with Classic outlook but doesn't seem to be working with New outlook (1.2024.508.600…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,866 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,142 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,691 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,599 questions
asked 2024-05-15T06:30:48.9933333+00:00
Amit Kumar 0 Reputation points
edited the question 2024-05-15T07:48:32.4466667+00:00
Jiale Xue - MSFT 38,021 Reputation points Microsoft Vendor
1 answer

Solution Parser not working in .Net8

Hi, I'm in the process of migrating my WPF application from .NET Framework 4.8 to .NET 8. In my previous application, I utilized the Solution Parser functionality from Microsoft.Build for certain tasks. However, after migrating to .NET 8, this…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 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,881 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,691 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,419 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,495 questions
asked 2024-05-13T10:05:23.3933333+00:00
Sanjay Kumar Jha 151 Reputation points
edited an answer 2024-05-14T21:17:00.1066667+00:00
Can Kucukgultekin 0 Reputation points
1 answer

Change Installation Location for WPF Windows Application Packaging Project

We have uploaded our WPF app to windows store using Windows Application Packaging project. Is it possible to change the Installation location of the app from "Windows Apps" folder to any other location? Settings → Apps & Features ->…

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,691 questions
asked 2024-05-10T08:02:16.2666667+00:00
Raja Shanmugam 21 Reputation points
edited a comment 2024-05-14T08:18:00.6166667+00:00
Hongrui Yu-MSFT 420 Reputation points Microsoft Vendor
1 answer

Unwanted Space and Margins are surrounding the control in designer when Integrating WPF User-Control into Form using ElementHost

When integrating the WPF user-control (For Example: The UserControl contains the button) into a form using ElementHost, there are unwanted spaces and margins surrounding the control in the designer. It works fine in runtime; reported issue is reproduced…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,858 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,691 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,419 questions
asked 2023-06-21T06:32:40.6233333+00:00
bagavathi basker 0 Reputation points
commented 2024-05-13T12:40:53.9366667+00:00
Karthick Arjunan 0 Reputation points
0 answers

How to include extra files in Visual Studio Publish for WPF Application?

I have my .net 5 WPF application setup to publish with these settings below. My application is a PRISM (MVVM framework) application and uses a modular structure. The module projects are not directly referenced by the main application project.…

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,691 questions
asked 2021-11-18T08:58:02.333+00:00
James Baker 1 Reputation point
commented 2024-05-10T07:55:28.6233333+00:00
James Baker 1 Reputation point
0 answers

Compatibility of .NET Standard 2.0 library that uses StoreAPI and WPF .NET 8.0?

I am working with a .NET Standard 2.0 Library that we wrote and use both in a WPF + .NET Framework 4.8 windows application and in a UWP windows application. This .NET Standard 2.0 library has references to Microsoft.Windows.SDK.Contracts version…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,481 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,691 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
318 questions
asked 2024-05-08T17:36:27.52+00:00
Richard Freytag 1 Reputation point
commented 2024-05-09T10:04:27.16+00:00
Hongrui Yu-MSFT 420 Reputation points Microsoft Vendor
1 answer

Numbers are not displayed properly when using Arabic culture with Right-to-Left (RTL) flow direction in WPF.

When using a textbox in Arabic culture with RTL, numbers are displayed in Arabic numerals. However, I want them to be displayed in standard numerals only. FlowDirection="LeftToRight": FlowDirection="RightToLeft": Code…

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,691 questions
asked 2024-05-02T13:12:21.38+00:00
Vignesh 0 Reputation points
commented 2024-05-09T02:29:30.2966667+00:00
Hui Liu-MSFT 44,631 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to use condition to compare two things for dropdown and an empty field in wpf?

Hi Team Need to use a condition will check if combo box(truck-empty) for selected item and when an empty field(topseal and bottomseal), needs to validate for both. Meaning when a user selects this combo box for truck-empty condition must met only here,…

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,691 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,419 questions
asked 2024-05-06T20:20:32.45+00:00
Gcobani Mkontwana 40 Reputation points
accepted 2024-05-07T11:01:55.0766667+00:00
Gcobani Mkontwana 40 Reputation points