2,854 questions with Developer technologies | Windows Presentation Foundation tags

Sort by: Updated
1 answer

UCEERR_RENDERTHREADFAILURE (0x88980406) when multiple processes of the same WPF application are open.

Hello! Application: My application draws a huge number of OrderBooks (https://www.investopedia.com/terms/o/order-book.asp), for this my hierarchy looks like this: MainWindow -> TabControl -> TabItem -> DockingManager -> DockPanel. In…

Developer technologies | Windows Presentation Foundation
Developer technologies | C#
asked 2023-05-17T15:54:05.8133333+00:00
Ayrat Khaydarov 5 Reputation points
commented 2025-01-23T17:12:06.0533333+00:00
MOLDAVSKYY Volodymyr 0 Reputation points
1 answer One of the answers was accepted by the question author.

What would be the appropriate method for view models in a C# WPF project?

Hello I created record insertion and update view models in my c# wpf project. These view models have common save and cancel commands. When the save command is clicked, it calls the save function from the relevant service and if there are any error…

Developer technologies | Windows Presentation Foundation
Developer technologies | C#
asked 2025-01-22T07:17:10.66+00:00
fatih uyanık 225 Reputation points
accepted 2025-01-22T08:59:00.8666667+00:00
fatih uyanık 225 Reputation points
1 answer

Multiple HTTPs Requests

Hello All, We have a WPF application built on .Net Framework 4.8. This application communicates with an HTTPs server to perform a list of commands. These commands must be executed one after another and must not be sent in on go. This communication is…

Developer technologies | Windows Presentation Foundation
Developer technologies | C#
asked 2024-12-20T07:04:45.51+00:00
S Abijith 471 Reputation points
commented 2025-01-22T06:12:29.15+00:00
S Abijith 471 Reputation points
1 answer One of the answers was accepted by the question author.

I want to disable/enable usb and HDMI port whenever my c# wpf (.net Framework 4.7.2) app runs.

Online resources are not present for above queries. I want solution for both admin/non-admin user account. Please help to provide me the solution.

Developer technologies | Windows Presentation Foundation
Windows development | Windows API - Win32
Developer technologies | .NET | Other
Developer technologies | C#
asked 2025-01-15T12:29:34.7333333+00:00
Vishal2 Bansal 265 Reputation points
accepted 2025-01-22T05:07:30.16+00:00
Vishal2 Bansal 265 Reputation points
1 answer One of the answers was accepted by the question author.

I run in a trouble. WPF, compiled XAML: on changed text handler run but not all controls initizlzed

Developer technologies | Windows Presentation Foundation
Developer technologies | XAML
asked 2025-01-19T05:49:16.4366667+00:00
Roma Golich 20 Reputation points
accepted 2025-01-20T17:06:21.8666667+00:00
Roma Golich 20 Reputation points
1 answer One of the answers was accepted by the question author.

How to Design Validation, Error Management, and Message Service in a Layered Architecture for a WPF Project?

Hello I am working on a WPF application using the MVVM pattern and performing validations through a centralized ValidationService that leverages FluentValidation. During the validation process, I need to check whether an ISBN already exists in the…

Developer technologies | Windows Presentation Foundation
Developer technologies | C#
asked 2025-01-13T10:16:24.99+00:00
fatih uyanık 225 Reputation points
accepted 2025-01-16T10:36:06.14+00:00
fatih uyanık 225 Reputation points
2 answers One of the answers was accepted by the question author.

I want to enable/Disable (i.e. lock/unlock) the Bluetooth through the C# wpf Application

Hi I want to enable/disable the Bluetooth programmatically in c# .NET WPF app. I am not able to find correct implementation. Pls help.

Developer technologies | Windows Presentation Foundation
Developer technologies | .NET | Other
Developer technologies | C#
asked 2025-01-14T13:11:39.5233333+00:00
Vishal2 Bansal 265 Reputation points
accepted 2025-01-15T13:22:53.75+00:00
Vishal2 Bansal 265 Reputation points
3 answers

How to use WPF Mouse.OverrideCursor in a VB.NET application

I tried a sample WPF code, that Kareninstructor recommended to me, from https://github.com/karenpayneoregon/visual-basic-getting-started/tree/master/ChangeCursor to test the usage of Mouse.OverrideCursor - this worked beautifully. However, it is a…

Developer technologies | Windows Presentation Foundation
Developer technologies | VB
asked 2021-01-27T21:30:00.707+00:00
Jim Webb 41 Reputation points
edited the question 2025-01-12T17:42:01.4666667+00:00
TP 125.8K Reputation points Volunteer Moderator
4 answers

How to convert outlook email (.msg) to pdf c# ?

Are there any free libraries using which I can convert outlook emails i.e. .msg files to pdf in my WPF c# app? I've tried using PDFSharp like below but the data is not showing properly at all. The email body contains tables and text and sometimes it may…

Developer technologies | Windows Presentation Foundation
Developer technologies | C#
asked 2023-05-09T07:35:53.6466667+00:00
don bradman 621 Reputation points
edited the question 2025-01-10T07:14:01.1+00:00
TP 125.8K Reputation points Volunteer Moderator
1 answer

Dependency Properties in User Controls

I have a simple Slider and Label user control that I load into my window and I want to change the following properties using databinding from the main window. Slider Properties -> Value, SelectionStart, SelectionEnd (all doubles) Label Properties…

Developer technologies | Windows Presentation Foundation
Developer technologies | .NET | Other
Developer technologies | C#
asked 2024-12-18T16:06:49.42+00:00
dmccric 0 Reputation points
commented 2025-01-06T14:48:50.3133333+00:00
dmccric 0 Reputation points
1 answer

How to implements desing time adorner for WPF?

I want to provide design-time support for my user control in WPF. I found out about adorners, but unfortunately, I could not implement them (In design time). I used this walkthrough, but it is old and no longer being updated. I would appreciate any help…

Developer technologies | Windows Presentation Foundation
asked 2024-12-31T16:35:22.22+00:00
Олег Чижов 0 Reputation points
commented 2025-01-06T02:47:10.1233333+00:00
Jack J Jun 25,296 Reputation points
1 answer

How to Apply Multiple Filtering Criteria in a CustomObservableCollection?

Hello I am managing data in my WPF application using a CustomObservableCollection. I created a custom collection by inheriting from ObservableCollection in order to control any additional operations that might arise on the collection in the future. Now,…

Developer technologies | Windows Presentation Foundation
Developer technologies | C#
asked 2024-12-27T08:28:57.8266667+00:00
fatih uyanık 225 Reputation points
commented 2025-01-06T02:44:26.94+00:00
Anonymous
2 answers

Unable to detected visibility of Onscreen keyboard using user32.dll

Below code is always showing on screen keyboard as visible. Even if it is closed. using System; using System.Diagnostics; using Microsoft.Win32; using System.Runtime.InteropServices; using System.Threading; namespace CSharpTesting { class Program …

Developer technologies | Windows Presentation Foundation
Developer technologies | C#
asked 2024-12-10T10:27:49.5466667+00:00
Shaik Rizwan 0 Reputation points
edited the question 2025-01-03T02:11:44.1833333+00:00
Anonymous
2 answers

Advice on Signing and Certificate Options for a WPF Project

Hi, I have a WPF project based in Dublin, initially intended for approximately 100 users in Ireland, with plans to expand both inside and outside the EU over the long term. The business was established in September 2022. I’d like advice on the best…

Developer technologies | Windows Forms
Developer technologies | Windows Presentation Foundation
Azure Trusted Signing
Azure Trusted Signing
Trusted Signing is a Microsoft fully managed, end-to-end signing solution that simplifies the certificate signing process and helps partner developers more easily build and distribute applications.
249 questions
asked 2024-12-21T17:48:00.1666667+00:00
Mustafa Walid 0 Reputation points
answered 2024-12-26T22:09:36.44+00:00
Ken Tucker 5,861 Reputation points
1 answer

RenderTargetBitmap.Render() creates blank image when element present in Grid.Row = "1"

Save element (inherited from System.Windows.Controls.Control) as image using below code. RenderTargetBitmap bmpSource = new RenderTargetBitmap((int)element.ActualWidth, (int)element.ActualHeight, 96, 96, PixelFormats.Pbgra32); …

Developer technologies | Windows Presentation Foundation
asked 2021-03-22T09:05:24.797+00:00
saravanan madhesh 1 Reputation point
commented 2024-12-21T02:35:03.2766667+00:00
Mohammed Kenawy 0 Reputation points
1 answer

Getting security warning Unknown publisher issue while install the .exe or update the application using click once

Dear Support, I have created a Windows application using WPF and deployed it to a server location using Click-Once. It was properly digitally signed and used by everyone in the organization. However, recently we have started getting the "Unknown…

Developer technologies | Windows Presentation Foundation
asked 2024-12-12T15:24:46.37+00:00
Bharathiraja Kethappan 0 Reputation points
commented 2024-12-20T01:00:34.05+00:00
Anonymous
1 answer

After migrating to VB.NET Core 9.0 from 8.0, I am getting error messages on menu bindings

After migrating from version 8.0 to version 9.0, I am getting error messages related to the binding of menu items. I am working with Visual Studio 17.12.3 and .NET Core 9.0.101 on a Windows 11 (23H2) machine. Further down in the XAML code, I have the…

Developer technologies | .NET | Entity Framework Core
Developer technologies | Windows Presentation Foundation
Developer technologies | VB
Developer technologies | XAML
asked 2024-12-07T10:11:36.7266667+00:00
Mike van der Waard 0 Reputation points
commented 2024-12-16T01:03:26.5166667+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

Why does BackgroundWorker.RunWorkerCompleted +=OnRunWorkerCompleted event not get called?

Our application uses the WPF and .NET Framwork 4.8 The AbortableBackgroundWorkder class inherences from the BackgroundWorker class and used as following. ProtocolProcessor class performs complicated sequence instrument control actions. we notice that…

Developer technologies | Windows Presentation Foundation
Developer technologies | .NET | Other
asked 2024-12-10T03:23:07.0766667+00:00
Jane Jie Chen 506 Reputation points
commented 2024-12-13T02:32:41.0333333+00:00
Jane Jie Chen 506 Reputation points
1 answer One of the answers was accepted by the question author.

Enable recovery using ReagentC using Csharp or bat file

Hello All, Morning: I would like to enable recovery using ReagentC in my windows LTSC 21H2 19044.5131 system using C# application so i set the app manifest by default launch ad admin. I tried to launch the the batc file via this application but recovery…

Developer technologies | Windows Presentation Foundation
Windows for business | Windows Client for IT Pros | User experience | Other
asked 2024-12-09T09:36:37.18+00:00
Kran2022 406 Reputation points
accepted 2024-12-12T13:59:58.5833333+00:00
Kran2022 406 Reputation points
1 answer One of the answers was accepted by the question author.

How to get DataGrid object of TabControl.ContentTemplate

Dear all, I have a control using ContentTemplate and i would like to binding the Visibility properties with viewModel but that error 'Cannot find governing FrameworkElement or FrameworkContentElement for target element'. This is control in xaml: …

Developer technologies | Windows Presentation Foundation
Developer technologies | .NET | Other
Developer technologies | XAML
asked 2024-12-11T05:02:59.11+00:00
Lê quang Thắng 20 Reputation points
accepted 2024-12-11T10:20:45.1733333+00:00
Lê quang Thắng 20 Reputation points