2,788 questions with Windows Presentation Foundation tags

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

WPF UserControl Page Binding Issue

Hello everybody, I have a really basic question actually about WPF binding in my code. The problem is that I have a WPF page which inherited from a base class which inherits from UserControl and the base class implements INotifyPropertyChanged…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 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,788 questions
asked 2024-11-16T21:04:03.78+00:00
isa turgut 0 Reputation points
accepted 2024-11-21T19:12:18.1233333+00:00
isa turgut 0 Reputation points
1 answer One of the answers was accepted by the question author.

Sometimes click something in The WebView2 Page will open a new Microsoft Edge Window,could we show it in the Webview2 replace open a new window?

With local file WebView2: var env = await CoreWebView2Environment.CreateAsync(WebViewRuntimeFolder, DataFolder, opt)); await webView.EnsureCoreWebView2Async(env); I want whatever you click in the WebView2,The requested showed in the WebView2 Element,…

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,788 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.
816 questions
asked 2021-10-27T02:51:14.067+00:00
GuoLearn 251 Reputation points
commented 2024-11-21T13:50:05.2633333+00:00
Rahul Khandelwal 0 Reputation points
0 answers

How do I localize the AppDescription of Desktop Bridge apps?

I have a UWP application. The project contains the following files: de-DE\Resources.resw en-US\Resources.resw Each file contains a text with the key AppDescription. en-US is set as the default language in Package.appxmanifest. When submitting to the…

Universal Windows Platform (UWP)
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,788 questions
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
1,024 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,053 questions
asked 2024-11-13T13:08:33.4966667+00:00
Heiko 1,261 Reputation points
edited a comment 2024-11-21T04:06:16.16+00:00
Junjie Zhu - MSFT 19,216 Reputation points Microsoft Vendor
0 answers

Window shown in alt tab menu even included tool window style

I am working with wpf application that create a transparent, topmost window. I also set tool window style for my window by using: SetWindowLong(hwnd, GWL_EXSTYLE, extendedStyle | WS_EX_TOOLWINDOW). It is ok during application running but when I go to…

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,788 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,053 questions
asked 2024-11-15T06:00:15.93+00:00
phongla 0 Reputation points
commented 2024-11-20T07:04:52.3833333+00:00
Hongrui Yu-MSFT 2,865 Reputation points Microsoft Vendor
0 answers

Application does not open when installed in another PC?

Hello, I have a WPF with .NET Framework project. All working as expected. Built the project with Release (Any CPU) and generated an installer setup file using inno script. Upon installing the application in a different PC I noticed that application does…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 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,788 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,053 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,172 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,012 questions
asked 2024-11-15T08:10:22.1933333+00:00
Lakshmanan B 81 Reputation points
commented 2024-11-18T03:22:47.6033333+00:00
Hongrui Yu-MSFT 2,865 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

UI Automation client doesn't see all dynamic elements of WPF application

Hi there. I have a problem while automating a WPF App using Windows UI Automation client API. After attaching to the app process I can see all static visible elements on UI using Windows UI Automation client, but after expanding some multiple-level…

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,788 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,012 questions
asked 2024-11-08T09:03:14.7066667+00:00
Tarik_P 20 Reputation points
commented 2024-11-15T08:59:46.97+00:00
Tarik_P 20 Reputation points
1 answer

Jaws screen reader /Narrator does not read selected value of combo box control which contains tree view control in wpf

Hi, I have created one combo box control and inside ComboBox.Template I have added one tree view control. Basically one Combobox user control which on expanding shows contents as treeview control. Combox selected item is bound with item which is selected…

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,788 questions
asked 2024-10-08T14:42:51.84+00:00
Ajay Gera 40 Reputation points
commented 2024-11-12T11:34:08.2466667+00:00
Ajay Gera 40 Reputation points
1 answer

[WPF] Input method switching between Chinese causes the program to crash randomly.

应用程序: Win178.exe Framework 版本: v4.0.30319 说明: 应用程序通过 System.Environment.FailFast(string message) 请求终止进程。 消息: 不可恢复的系统错误。 堆栈: 在 System.Environment.FailFast(System.String) 在 System.Windows.Documents.TextStore.OnEndComposition(ITfCompositionView) 在…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 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,788 questions
asked 2023-11-22T06:28:44.1733333+00:00
涛 黄 0 Reputation points
answered 2024-11-08T12:41:24.61+00:00
HOHO HOHO 0 Reputation points
1 answer

GridSplitter Issue in Wpf

Hi, I am encountering a problem with the GridSplitter. I have several templates designed for various user interfaces, and I am utilizing a template selector to apply the appropriate UI to the ItemsControl. Each template consists of three components: a…

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,788 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,012 questions
asked 2024-10-29T12:01:02.6133333+00:00
Sanjay Kumar Jha 156 Reputation points
commented 2024-11-04T09:12:01.7266667+00:00
Hongrui Yu-MSFT 2,865 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,788 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,053 questions
asked 2022-03-16T00:46:27.013+00:00
Ike 6 Reputation points
commented 2024-11-02T01:51:06.2766667+00:00
Steve Shaw 0 Reputation points
1 answer

How can i correct a script that is not working in powershell and wpf displaying a active directory treeview

I don't want to load everything at the same time but when i click on a node display inside objects only permitting to not freeze the load , as almost is done in dsa.msc on active directory. Code copy below: this script was given by chatgpt and 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,788 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,678 questions
asked 2024-10-15T09:34:01.83+00:00
Tim siktas 0 Reputation points
commented 2024-10-29T01:21:09.88+00:00
Hongrui Yu-MSFT 2,865 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

High RAM Usage with Custom Splash Screen in WPF (Code-Behind, .NET Core 6) - How to Reduce Memory Consumption?

I'm working on a WPF application using .NET Core 6 (Code-Behind, no MVVM) in Visual Studio 2022 on Windows 10. I've created a customized splash screen that displays a GIF on startup. The splash screen closes once the app has fully loaded. My problem is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 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,788 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,225 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,053 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.
816 questions
asked 2024-10-23T02:45:31.8333333+00:00
Mojtaba_Hakim 321 Reputation points
edited the question 2024-10-28T02:14:46.39+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Using Renegotiation in C#

Hi All, We have a WPF application built on .Net Framework 4.8. This application acts an HTTPs client. We are currently using the code provided in the attached file for HTTPs communication. This code is used to run a sequence of commands one after…

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,788 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,053 questions
asked 2024-09-14T20:10:04.57+00:00
S Abijith 446 Reputation points
accepted 2024-10-25T13:18:51.07+00:00
S Abijith 446 Reputation points
2 answers One of the answers was accepted by the question author.

Identify Mutual Authentication request at LDAPs

Hello All, We have a WPF application built on .Net Framework 4.8. This application acts as an LDAPs client for authentication purposes. The LDAPs server being used has provision for enabling mTLS. When mTLS is enabled, the client application needs to…

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,788 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,053 questions
asked 2024-10-17T16:48:20.34+00:00
S Abijith 446 Reputation points
accepted 2024-10-25T13:14:33.96+00:00
S Abijith 446 Reputation points
4 answers

WPF Bitmapimage resizing is messed up in windows 11 24H2

There is a WPF ImageControl that takes local file as source. Before saving it on server, I am trying to resize the image so that I dont store huge files. I am also trying to reduce the image quality if image size exceeds 12 kb even after resizing. But 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,788 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,012 questions
asked 2024-10-15T20:43:28.44+00:00
rakesh kumar 0 Reputation points
commented 2024-10-25T06:03:39.0033333+00:00
Hongrui Yu-MSFT 2,865 Reputation points Microsoft Vendor
1 answer

How to Write a DependencyProperty for a TextBlock when it is a child element of a parent Button class in WPF C#?

Hi there, I want to make a Dependency Property for a Text Block and the functionality of this property is to apply a Scale Transformation on the Text Block but I am unable to do that Because it's a child element inside of a Button class. I have a…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,773 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,788 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,053 questions
asked 2024-10-03T02:05:10.09+00:00
MERUN KUMAR MAITY 601 Reputation points
commented 2024-10-24T06:23:31.2333333+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
3 answers

How Can I Register and Manage Services in a Large C# Project?

Hello I will start developing a new C# WPF project. I need your information on something while planning. I will use the MVVM pattern in the project. I will create a large number of services to perform some tasks and use them in the relevant classes. I am…

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,788 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,053 questions
asked 2024-10-02T12:49:07.14+00:00
fatih uyanık 100 Reputation points
commented 2024-10-22T07:56:54.4766667+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
0 answers

Theming of WPF dialog not working for all controls on the dialog

Hi, I need to change color/theme of all controls on WPF dialog whenever there is change of theme from VS2022 (i.e. Tools -> Options -> Color Theme ) I followed below MSDN…

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,788 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,225 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,053 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
231 questions
asked 2024-10-04T14:07:53.0266667+00:00
Ajay Gera 40 Reputation points
commented 2024-10-22T03:10:59.8366667+00:00
Tianyu Sun-MSFT 31,411 Reputation points Microsoft Vendor
3 answers

How to Configure Library Files to Run in a Subfolder?

Hello There is a library named TolkDotNet.dll in a c# wpf project. This library references various dll files in the x86 and x64 folders. To get rid of the file confusion, I placed them in the Lib folder as TolkDotNet, x86, x64. Then I showed 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,788 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,053 questions
asked 2024-10-06T10:13:18.32+00:00
fatih uyanık 100 Reputation points
commented 2024-10-21T08:54:51.4466667+00:00
Hongrui Yu-MSFT 2,865 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

I want to Understand the Rendering Modes in WPF application.

Recently i came across this section of code on Stackoverflow. void myClass_SourceInitialized(object sender, EventArgs e) { Log.Info("myClass_SourceInitialized"); System.Windows.Interop.HwndSource source =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 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,788 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,053 questions
asked 2024-10-13T17:20:30.0533333+00:00
Vishal2 Bansal 145 Reputation points
accepted 2024-10-17T06:15:02.3233333+00:00
Vishal2 Bansal 145 Reputation points