2,703 questions with Windows Presentation Foundation tags

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

Convert HTML text to Plain text in C#

Hello I have HTML text stored in a string variable in C#. I need to convert that text in to plain text and remove all the html tags. How can I do that thank u

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 2021-10-18T13:17:48.783+00:00
Jeddah 86 Reputation points
commented 2024-06-04T12:17:46.1466667+00:00
MD Abdullah Sk 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to detect Windows dark mode

In the Windows settings, dark mode is enabled for Windows and light mode is enabled for applications. The following keys are missing from the registry: HKCU\Microsoft\Windows\CurrentVersion\Themes\Personalize. …

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,554 questions
asked 2022-01-29T15:53:59.047+00:00
Heiko 1,216 Reputation points
commented 2024-06-03T19:50:07.46+00:00
Jannet Puckett 0 Reputation points
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,703 questions
asked 2024-05-31T03:27:39.53+00:00
William Liu 326 Reputation points
accepted 2024-06-01T00:18:20.9333333+00:00
William Liu 326 Reputation points
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,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,554 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) 59,806 Reputation points
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,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,554 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,703 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.
780 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,703 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,984 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,562 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,554 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 780 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,562 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,554 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 780 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.
11,029 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,297 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
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-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 41,976 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,867 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,984 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,554 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,738 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,703 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 780 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,867 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,554 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,703 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,562 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
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.
324 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 780 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,703 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 47,176 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,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,554 questions
asked 2024-05-06T20:20:32.45+00:00
Gcobani Mkontwana 60 Reputation points
accepted 2024-05-07T11:01:55.0766667+00:00
Gcobani Mkontwana 60 Reputation points
1 answer One of the answers was accepted by the question author.

WPF Select All Checkbox in a DataGrid DataBinding (Using Xampp, SQLYog, ODBC Driver)

Hi! Everyone I have been searching and integrating all checkbox multiselect from the answers I found online, and I l learnt so much, whether they use MVVM Light tollkit and Non-MVVM approach. All of them runs in different way but all are fulfilled 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,703 questions
asked 2024-04-30T06:36:42.5033333+00:00
Superbia15 20 Reputation points
accepted 2024-05-07T02:44:53.64+00:00
Superbia15 20 Reputation points
0 answers

Access data stored in vTPM

Hi All, We have a WPF application running on .Net Framework v4.8. We are currently using 'ESXi' to host 'Windows Server 2022', which inturn hosts the WPF application. We are planning to store all the sensitive data related to the application, such as…

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,554 questions
asked 2024-05-06T12:16:02.39+00:00
S Abijith 346 Reputation points
commented 2024-05-07T02:03:01.4633333+00:00
Hui Liu-MSFT 47,176 Reputation points Microsoft Vendor
0 answers

CTRL Commands Not Working with Winforms Web Browser

Hello, We have an application with a winforms web browser hosted on a WPF window and this browser is used to load HTML's within our application. These HTML files have fields that allow users to fill out. Letters and numbers work fine when put into the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 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-04-22T20:38:22.62+00:00
Lpatz-4663 20 Reputation points
commented 2024-05-03T16:00:20.7533333+00:00
Lpatz-4663 20 Reputation points