2,676 questions with Windows Presentation Foundation tags

Sort by: Updated
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,833 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,676 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
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,676 questions
asked 2024-05-02T13:12:21.38+00:00
Vignesh 0 Reputation points
commented 2024-05-03T09:01:20.53+00:00
Viorel 112.5K Reputation points
1 answer

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,676 questions
asked 2024-04-30T06:36:42.5033333+00:00
Superbia15 0 Reputation points
edited an answer 2024-05-03T01:41:45.85+00:00
Hui Liu-MSFT 40,266 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

RibbobBar hiding with multiple mouse clicks

Our application has a RibbonBar containing several tabs. In it we have disabled the ability to shrink the ribbon bar by double clicking on the tab headers by intercepting the PreviewMouseDoubleClick event and marking it as handled. This works fine for a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 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,676 questions
asked 2024-05-01T09:48:25.9+00:00
Mike Charlesworth 20 Reputation points
accepted 2024-05-01T12:48:40.5533333+00:00
Mike Charlesworth 20 Reputation points
0 answers

On visual studio community 2022 These numbers circled in blue is that what you call Lines

On visual studio community 2022 These numbers circled in blue is that what you call Lines

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,676 questions
asked 2024-04-30T10:01:02.8633333+00:00
Luke Ferguson 46 Reputation points
commented 2024-05-01T02:52:05.6033333+00:00
Hui Liu-MSFT 40,266 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Touch keyboard changes layout when switching between WPF TextBox controls

Hi, I'm experiencing a strange behaviour in a simple WPF app running on a tablet (Surface Pro 7, Windows 10.0.19043). The UI has several TextBox controls that have InputScope=Number defined. <Window x:Class="SimpleTouchWPF.MainWindow" …

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,676 questions
asked 2024-04-28T10:37:17.14+00:00
Sergey Efremov 20 Reputation points
accepted 2024-04-30T09:34:36.39+00:00
Sergey Efremov 20 Reputation points
1 answer One of the answers was accepted by the question author.

Opening a Window Using Its Name

From my MainWindow I am trying to open another window knowing only its name. In my MainWindow ViewModel, I have: Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (lpClassName As String, lpWindowName As String) 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,676 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,578 questions
asked 2024-03-26T09:29:31.52+00:00
RogerSchlueter-7899 1,236 Reputation points
accepted 2024-04-30T09:29:57.9366667+00:00
RogerSchlueter-7899 1,236 Reputation points
0 answers

Selection using Selection Rectangle

Can anyone please tell me how to make this kind of behaviour in our own WPF app. Right now i am making a File explorer kind of behaviour using the WPF datagrid. Can someone please help me with the logic or post some code. Here if we see the rows are…

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,770 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,676 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,274 questions
asked 2024-04-24T04:34:37.6333333+00:00
Amit 20 Reputation points
commented 2024-04-27T05:11:46.4666667+00:00
Amit 20 Reputation points
1 answer

Error with mso99Lwin32client.dll when running WeldingIOTApplication.exe

I received an error message when running WeldingIOTApplication.exe which says "Faulting module name: mso99Lwin32client.dll, version: 16.0.5041.1000, time stamp: 0x5f0562ec". The full error message along with the application and module paths,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 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,676 questions
asked 2024-04-25T11:14:20.84+00:00
Omkar Khamkar 0 Reputation points
answered 2024-04-26T02:35:26.99+00:00
Hui Liu-MSFT 40,266 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Selection Rectangle not moving along with datagrid content during scroll.

I am attempting to replicate the selection behavior of Windows File Explorer within a WPF DataGrid. Specifically, I aim to implement a selection rectangle that mimics the functionality of File Explorer's selection mechanism. Currently, I have created an…

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,676 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,274 questions
asked 2024-04-11T05:08:56.16+00:00
Amit 20 Reputation points
accepted 2024-04-24T10:02:06.8933333+00:00
Amit 20 Reputation points
1 answer

How to change the titlebar menu style to Windows 11 style

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,676 questions
asked 2024-04-02T06:48:56.2833333+00:00
quan zhao 20 Reputation points
commented 2024-04-24T02:10:41.48+00:00
Hui Liu-MSFT 40,266 Reputation points Microsoft Vendor
0 answers

Value cannot be null. Parameter name: existingConnection

Hi, I am quite new to Visual Studio development and I am working on a hobby project using WPF application with C#. I currently exploring User Control in WPF application. So, I have a project named "wpfLearnMainWin" say parent project (that has…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 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,676 questions
asked 2024-04-19T13:16:45.13+00:00
Lakshman Balasubramanian 21 Reputation points
commented 2024-04-23T09:53:45.87+00:00
Hui Liu-MSFT 40,266 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Recognize whether the user is logged in

In Windows 10 and Windows 11, apps that are started automatically at startup are already started before the user has logged in. In Windows 8.1, such automatically launched apps were only started after the user had logged in. At least this is the case on…

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,676 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,426 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,274 questions
asked 2024-04-18T15:03:37.3466667+00:00
Heiko 1,211 Reputation points
accepted 2024-04-20T12:52:14.77+00:00
Heiko 1,211 Reputation points
1 answer One of the answers was accepted by the question author.

Is it possible to create and set styles and/or template for combobox in c# only?

Hi, I'm trying to setup a app frontend in C# only. I'm more practiced with c# then XAML, but also have the feeling that I can make the app windows/pages more parametric in this way. Thus far I'm succeeding in this, however when I tried setting up…

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,676 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,274 questions
asked 2024-04-12T14:03:37.46+00:00
Reinder Weenink 20 Reputation points
commented 2024-04-19T19:37:26.1033333+00:00
Reinder Weenink 20 Reputation points
2 answers

PresentationFramework problem

I'm developing an app on VS2022 C# .NET4.5.2 WPF upgraded to .NET4.8 After the upgrade when running the .exe file on WIN11 I get the following error: "Not possible to load th efile or assembly 'PresentationFramework', Version 3.0.0.0,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 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,676 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,212 questions
asked 2024-04-18T10:00:35.6533333+00:00
silvano diliso 0 Reputation points
answered 2024-04-19T07:09:56.17+00:00
Hui Liu-MSFT 40,266 Reputation points Microsoft Vendor
1 answer

The problem with the MediaElement in WPF .NET 8.0 not supporting relative paths for the media source,Why?

Hi, I'm attempting to utilize the MediaElement in WPF to play video files with either .mp4 or .wmv extensions. However, I've encountered issues when passing the source as a relative path or a Pack URI. Strangely, it works fine when I provide an absolute…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,654 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,770 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,676 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,274 questions
asked 2024-04-08T08:17:36.1833333+00:00
Sanjay Kumar Jha 151 Reputation points
commented 2024-04-19T07:02:29.0633333+00:00
Sanjay Kumar Jha 151 Reputation points
1 answer

I am having a problem with WPF text box , its not allowing record space when pressing space bar on key board

When adding some text on text box in a wpf application its not arecording the space. it's only allowing it if i type the text as one string and use the back keys to go back to to where i want to record the space. Not sure what is the cause and solution…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 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,676 questions
asked 2024-04-15T13:52:54.78+00:00
Sgcino Ngema 0 Reputation points
commented 2024-04-18T08:41:49.4366667+00:00
Hui Liu-MSFT 40,266 Reputation points Microsoft Vendor
1 answer

How to implement layered architecture?

Hello I started working on layered architecture to write some more professional code in C#. As a result of research on the internet, I saw that each person implements layered architecture differently. This caused confusion. I use the MVVM pattern in my…

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,676 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,274 questions
asked 2024-04-10T20:42:05.4866667+00:00
fatih uyanık 80 Reputation points
commented 2024-04-18T07:42:05.57+00:00
Hui Liu-MSFT 40,266 Reputation points Microsoft Vendor
2 answers

How to reference/consumme assembly manifest based on CPU in WPF C# Application project?

I want to reference an older Win32 assembly from a Wpf C# application. I do have both x86 or x64 versions of the Win32 assembly but I don't see how to reference based on selection target CPU.I can only specify either one. The Visual Studio C# 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,676 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,274 questions
asked 2024-04-16T12:44:11.6233333+00:00
Nicolas Montmarquette 0 Reputation points
commented 2024-04-18T03:25:53.2766667+00:00
Hui Liu-MSFT 40,266 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Binding Errors in a Simple Project

I have carved out a simple project from a larger one to demonstrate the binding errors I am getting so the names I use might seem ... odd. The following is the ENTIRE project: Window…

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,676 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,578 questions
asked 2024-04-16T22:49:29.3466667+00:00
RogerSchlueter-7899 1,236 Reputation points
commented 2024-04-18T02:15:22.2366667+00:00
Hui Liu-MSFT 40,266 Reputation points Microsoft Vendor