2,708 questions with Windows Presentation Foundation tags

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

Windows Presentation Foundation (WPF) end of life

Hi All, I would like to know if anyone has any information on future roadmap for WPF. Is there any date for microsoft retiring WPF and removing future support? Thanks in advance Narayanan

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,708 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.
789 questions
asked 2022-12-19T17:50:51.293+00:00
Narayanan Subramanian (Nara) 26 Reputation points
edited a comment 2024-03-13T19:02:54.3933333+00:00
Jan Bensch 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to Access and Insert into the First Element of a List <> in WPF C# ?

I have a List <> which I populate by showing available audio devices. The Audio Device List<> which is created by manipulating ancient Win32 APIs. My Code is working fine, currently there no issue present on it. But I have some requirement,…

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,708 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,600 questions
asked 2024-03-10T09:26:44.1033333+00:00
MERUN KUMAR MAITY 531 Reputation points
commented 2024-03-12T07:55:32.7566667+00:00
MERUN KUMAR MAITY 531 Reputation points
2 answers One of the answers was accepted by the question author.

How to create and display an Excel file?

Hello. Is it possible to create an Excel file in a WPF application in C#. At the same time, so that you can display and edit this file as in the Microsoft Excel application?

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,708 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,600 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,694 questions
asked 2024-03-05T19:49:16.9533333+00:00
vitaminchik 466 Reputation points
commented 2024-03-10T18:48:38.1166667+00:00
vitaminchik 466 Reputation points
1 answer One of the answers was accepted by the question author.

What Does the launcher.exe Do?

When I publish my application on VS 2022, I get a launcher.exe file. I cannot find any information on what it does and I am wondering if I must include the file when I distribute my application. So far, my application does not give me any errors when I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,596 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,708 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,600 questions
asked 2023-02-17T12:36:38.0733333+00:00
Skysmith 146 Reputation points
commented 2024-03-07T21:34:14.71+00:00
SSDiver2112 0 Reputation points
1 answer One of the answers was accepted by the question author.

UIAutomation throws AccessViolationException on Windows 11

Original post on stackoverflow: https://stackoverflow.com/questions/72872197/uiautomation-throws-accessviolationexception-on-windows-11 Also posting here as there might be more views, maybe from people at MSFT too. If it's considered duplicata,…

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,708 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,600 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,872 questions
asked 2022-07-06T06:20:51.55+00:00
ygosteli 31 Reputation points
commented 2024-03-05T08:34:00.9633333+00:00
Graham, Dave 0 Reputation points
0 answers

change paper tray lexmark printer in wpf c# program

Hello, how can I change the paper tray for a Lexmark XC9235 printer in a C# WPF application?

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,708 questions
asked 2024-02-29T12:01:34.83+00:00
Dieter Oeschay 0 Reputation points
edited a comment 2024-03-01T03:10:07.0133333+00:00
Hui Liu-MSFT 47,256 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Why is my RelayCommand Parameter Not Available in the ViewModel

<ListBox DisplayMemberPath="Name" ItemsSource="{Binding Path=GeoElements}" SelectedValue="{Binding Path=RouteID}" SelectedValuePath="ElementID"> <i:Interaction.Triggers> …

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,708 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,652 questions
asked 2024-02-27T15:02:31.81+00:00
RogerSchlueter-7899 1,256 Reputation points
commented 2024-02-29T17:49:20.4133333+00:00
Peter Fleischer (former MVP) 19,311 Reputation points
0 answers

Issues with BLE Gatt Services

Hi guys, We are using the BLE GATT services supplied by the Windows CSWinRT nuget package in a .net 6 WPF application. Two issues have raised their heads and I'm hoping someone could point me in the right direction. The main issue we have been facing…

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,708 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,600 questions
asked 2024-02-12T16:40:02.2933333+00:00
Ben Steele 0 Reputation points
edited the question 2024-02-29T01:09:35.6933333+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

WinUI - MessageDialog in App.xaml.cs does not work

Before the MainWindow is created and called, the programme should establish a connection to the database and read data. In case of an error, a message should be displayed and the programme closed without the main window appearing. I have tried various…

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,708 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
749 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.
789 questions
asked 2022-03-04T08:03:30.063+00:00
Andreas Mazatis 131 Reputation points
edited a comment 2024-02-28T21:10:12.1066667+00:00
Enrique Ballarin 0 Reputation points
1 answer

How to limit translation hearing in 10 seconds

I am using microsoft speech SDF in my WPF application for continues translation.. Everything is working fine but my app listens to the speaker until he gives a break or pause. I want to set a timer so that if there is no break in 10 seconds it will start…

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,708 questions
asked 2024-02-26T21:00:49.8033333+00:00
Shahrier Erfan Harun 0 Reputation points
edited the question 2024-02-28T05:14:04.6466667+00:00
PRADEEPCHEEKATLA-MSFT 84,936 Reputation points Microsoft Employee
0 answers

Contents of WPF Web Browser control are overflowing the boundries of parent Data Grid Control

I am using Web Browser control in a WPF project. My development environment is Windows10 DontNet 6.0. HTML contents are coming nicely in Web Browser control. However, when I scroll down the data grid control, the contents in web browser are overflowing…

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,708 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,600 questions
asked 2024-02-22T17:59:49.4466667+00:00
Tayyab hussain 0 Reputation points
commented 2024-02-28T01:52:11.32+00:00
Hui Liu-MSFT 47,256 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Why does my public string not change between windows in C# (.net 8) and WPF?

Hi, I am trying to make a note app, so I need to change a public string value between two windows but the string value does not persist across the windows. The strings that are not changing are in the 2nd .cs file, "string edit_File_Name",…

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,708 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,600 questions
asked 2024-02-26T01:35:43.9066667+00:00
T9 20 Reputation points
edited a comment 2024-02-27T03:20:54.2666667+00:00
Hui Liu-MSFT 47,256 Reputation points Microsoft Vendor
1 answer

how to create a display form in c#

how to create an interactive form in c#

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,708 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,600 questions
asked 2024-02-09T16:37:35.9566667+00:00
Len G 0 Reputation points
commented 2024-02-27T02:31:00.15+00:00
Hui Liu-MSFT 47,256 Reputation points Microsoft Vendor
2 answers

How to Avoid a RelayCommand Error

In a ViewModel for a wpf window I have the following command: Private ReadOnly Property _AddVehicle As New RelayCommand(AddressOf OnAddVehicle()) Public ReadOnly Property AddVehicle As RelayCommand Get Return _AddVehicle End Get End Property 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,708 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,652 questions
asked 2024-02-11T23:35:24.8333333+00:00
RogerSchlueter-7899 1,256 Reputation points
commented 2024-02-27T02:30:05.47+00:00
Hui Liu-MSFT 47,256 Reputation points Microsoft Vendor
1 answer

how to fix System.TypeInitializationException : Инициализатор типа "FlaUI.Core.Tools.SystemInfo" выдал исключение. ----> System.InvalidOperationException : Не удается загрузить данные имени счетчика, поскольку в реестре обнаружен недопустимый индекс "

In university we started to work with Windows Forms и WPF. For each work we're given a pre-work with all files and tests. But when I try to start test, they fall with the same Exception: System.TypeInitializationException : Инициализатор типа…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,870 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,708 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,850 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
337 questions
asked 2024-02-25T19:29:17.4566667+00:00
_cnehle 0 Reputation points
edited an answer 2024-02-26T03:14:31.4533333+00:00
Hui Liu-MSFT 47,256 Reputation points Microsoft Vendor
3 answers

WPF in Linux

According to this blog(https://devblogs.microsoft.com/dotnet/announcing-net-5-0-preview-1/), The .NET Core and .NET 5 (latest .NET platforms) will support WPF. But looks like the support is limited only to Windows OS. Is there any recommendation 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,708 questions
asked 2020-03-27T09:51:44.673+00:00
Keerthana Kolandasamy 16 Reputation points
answered 2024-02-25T14:35:58.01+00:00
MikeCodesDotNET 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to get the real target of a shortcut?

I have a shortcut on the desktop, that opens Adobe Reader XI, in the following path: C:\Users\Heiko\Desktop\Adobe Reader XI.lnk In my app, I am trying to get the destinations of various shortcuts. However, with Adobe Reader XI, I only get an ico file 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,708 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,600 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,623 questions
asked 2023-06-03T12:49:23.2366667+00:00
Heiko 1,216 Reputation points
edited a comment 2024-02-24T13:36:04.8833333+00:00
Heiko 1,216 Reputation points
0 answers

Signing clickonce using Sectigo SHA384 EV certificate give unknown publisher and smartscreen blocker

I am trying to sign the clickonce application using Sectigo Sha384 EV Certificate using SafeNet client. Steps I am following PLEASE NOTE CSP in SignTool is CSP in SafeNet client while CSP in Mage is KSP in SafeNet client. Mage was not signing…

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,708 questions
asked 2024-02-16T02:14:03.67+00:00
rakesh kumar 0 Reputation points
edited a comment 2024-02-21T01:40:18.08+00:00
Hui Liu-MSFT 47,256 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to change the grey default background of a combobox in wpf in xaml

Hi how can I change the grey default background color of a combobox? Of the selected Item not the dropdown list Any help?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,596 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,708 questions
asked 2024-02-02T20:36:18.67+00:00
VFarkas 30 Reputation points
accepted 2024-02-20T17:49:52.52+00:00
VFarkas 30 Reputation points
1 answer

Text alignement is too much center

Hello, Environnement: I'm coding in WPF in .Net Framework 472 and in .Net 6 (we have the some solution for both language) I have some issue with the Text component after a Font change. Now the Text is centered perfectly but that including the possibility…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,596 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,708 questions
asked 2024-02-15T15:52:27.2433333+00:00
Detchenique, Arnaud 0 Reputation points
commented 2024-02-20T06:53:30.7566667+00:00
Hui Liu-MSFT 47,256 Reputation points Microsoft Vendor