2,804 questions with Windows Presentation Foundation tags

Sort by: Updated
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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,006 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,804 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.
11,152 questions
asked 2024-12-18T16:06:49.42+00:00
dmccric 0 Reputation points
commented 2024-12-25T02:33:59.9366667+00:00
Hongrui Yu-MSFT 3,645 Reputation points Microsoft Vendor
1 answer

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,914 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,804 questions
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.
134 questions
asked 2024-12-21T17:48:00.1666667+00:00
Mustafa Walid 0 Reputation points
edited an answer 2024-12-23T03:12:57.5066667+00:00
Hongrui Yu-MSFT 3,645 Reputation points Microsoft Vendor
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); …

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,804 questions
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
2 answers

How to know whether the snap applied in windows 11 windows. Is there any API.

Is there a method or any API to tell if snap is enabled or disabled in Windows 11? Please answer if there is any other way.

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,804 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.
11,152 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.
824 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,276 questions
asked 2022-04-26T04:51:23.56+00:00
visi venkat 1 Reputation point
commented 2024-12-20T17:31:21.45+00:00
patrickpark 0 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…

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,804 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.
11,152 questions
asked 2024-12-20T07:04:45.51+00:00
S Abijith 466 Reputation points
answered 2024-12-20T13:06:05.1566667+00:00
Jiale Xue - MSFT 48,441 Reputation points Microsoft Vendor
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…

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,804 questions
asked 2024-12-12T15:24:46.37+00:00
Bharathiraja Kethappan 0 Reputation points
commented 2024-12-20T01:00:34.05+00:00
Hongrui Yu-MSFT 3,645 Reputation points Microsoft Vendor
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…

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,804 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.
11,152 questions
asked 2023-05-17T15:54:05.8133333+00:00
Ayrat Khaydarov 5 Reputation points
commented 2024-12-16T15:53:11.15+00:00
Colin Baker 0 Reputation points
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…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
767 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,804 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,760 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.
824 questions
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
Hongrui Yu-MSFT 3,645 Reputation points Microsoft Vendor
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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,006 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,804 questions
asked 2024-12-10T03:23:07.0766667+00:00
Jane Jie Chen 466 Reputation points
commented 2024-12-13T02:32:41.0333333+00:00
Jane Jie Chen 466 Reputation points
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 …

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,804 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,700 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.
11,152 questions
asked 2024-12-10T10:27:49.5466667+00:00
Shaik Rizwan 0 Reputation points
commented 2024-12-13T02:15:48.1066667+00:00
Minxin Yu 12,341 Reputation points Microsoft Vendor
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…

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,651 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,804 questions
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: …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,006 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,804 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.
824 questions
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
0 answers

The C++compiler cannot find the address to download to

It keeps showing this“The installation folder 'C: \ Program Files \ Microsoft Visual Studio \ 2022 \ Community' cannot be found.”Actually, I don't quite understand why he said that the one I don't have is a document or a file. In the administrator…

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,804 questions
asked 2024-11-27T16:15:12.11+00:00
妍霏 蒲 0 Reputation points
edited the question 2024-12-09T11:32:52.4366667+00:00
simo-k 1,350 Reputation points
1 answer One of the answers was accepted by the question author.

why dispatcher timer runs on accurate time but system timers some times lags or runs at 1-5 sec delay or in advance ?

Hi i have two timers basically classified in two categories:- Dispatcher Timer: First timer runs on application.current.dispatcher System.Threading.Timers : Second timer runs on timer using this method. Suppose both both timers fires a action to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,006 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,804 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.
11,152 questions
asked 2024-08-28T06:30:35.0266667+00:00
Vishal2 Bansal 185 Reputation points
accepted 2024-12-09T07:39:51.1166667+00:00
Vishal2 Bansal 185 Reputation points
1 answer One of the answers was accepted by the question author.

How to reference the native Onnxruntime.dll in my app installed from Nuget in my app .Instead of from System32

Requirements:- Hi i have created a .net framework class library. It uses inference session from ML.Onnxruntime nuget package to load a model and run inferencing on it. Now i am using that library in my WPF UI app. I don't want to install…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,006 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,804 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.
11,152 questions
asked 2024-11-29T12:30:32.1733333+00:00
Vishal2 Bansal 185 Reputation points
accepted 2024-12-09T07:38:56.45+00:00
Vishal2 Bansal 185 Reputation points
1 answer

Capturing the Pixel Color at the Cursor Position Doesn't Return Correct Color on Different DPI Monitors with Multiple Monitor Setup

Hello, In the provided sample, we are trying to capture the pixel color at the cursor position. This works correctly in a single monitor setup and in multiple monitors with the same DPI settings. However, when used in a multi-monitor setup with different…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,006 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,804 questions
asked 2024-12-02T07:16:57.55+00:00
Karthick Arjunan 0 Reputation points
commented 2024-12-09T07:20:03.18+00:00
Hongrui Yu-MSFT 3,645 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

WPF: Debugging Two WPF Applications Communicating via Named Pipes in VS2019

Our application is target WPF and .NET 4.8. We have two WPF applications. One is Console application which show instrument run status, and another application is a simulator to simulate instrument run actions and status. Both applications communicate…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,006 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,804 questions
asked 2024-12-08T20:29:18.2233333+00:00
Jane Jie Chen 466 Reputation points
edited the question 2024-12-09T06:11:23.2866667+00:00
Jiale Xue - MSFT 48,441 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

WPF DataGridCheckBoxColumn Control question

Hello, I need modify DataGridCheckBoxColumn Control inside checkbox size, but i don't find a way to modify it, Who can tell me ? 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,804 questions
asked 2020-06-19T02:39:51.367+00:00
929Free 306 Reputation points
commented 2024-12-05T03:45:59.67+00:00
Zihao Luo 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to Remove Language Folders (cs, es, tr, etc.) and resources.dll Files from WPF Project Output in .NET 8?

Hello, I’m developing a WPF application using .NET 8. In the bin output folder, several language-specific folders (cs, es, tr, etc.) are being generated along with .resources.dll files inside them, 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,804 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.
11,152 questions
asked 2024-12-01T19:08:09.39+00:00
fatih uyanık 160 Reputation points
accepted 2024-12-04T11:16:14.48+00:00
fatih uyanık 160 Reputation points
1 answer

Wpf white squares bug on display

When i running wpf application theres little white squares on display where position on mouse cursor. Any one know about these wieard bug

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,804 questions
asked 2020-03-03T17:47:31.28+00:00
manoj lakmal 1 Reputation point
edited the question 2024-12-03T06:36:54.6566667+00:00
TP 100.9K Reputation points