Microsoft Q&A

Windows Presentation Foundation

2,450 questions

A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.

Browse all .NET tags

2,450 questions with Windows Presentation Foundation tags

Sort by: Updated
1 answer

How can i make a popup dialog form in WPF?

as the heading suggests, i have a wpf application like this, on the MainPanel of my application i display user controls and sometimes i want to display a popup menu like the picture below when for example a user wants to do add some changes in 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,450 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.
8,805 questions
asked 2023-09-02T08:51:03.27+00:00
Mesh Ka 120 Reputation points
answered 2023-09-03T12:14:10.55+00:00
Johan Smarius 80 Reputation points
3 answers One of the answers was accepted by the question author.

Which is the Best Fit RDBMS for my Case

i have a database currently with 220 Tables, complex relationship and a lot of triggers and stored procedures. I am building this database only to be use by a single person offline, What is the best RDBMS fit for me? SQLServer or SQLite?

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,450 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
10,711 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.
8,805 questions
asked 2023-08-29T09:25:13.19+00:00
Mesh Ka 120 Reputation points
commented 2023-09-03T10:04:54.8433333+00:00
Erland Sommarskog 85,741 Reputation points
12 answers

Windows Media Player - visualization stops after the first track in the playlist

When a playlist is played back or when "Play all music", the set visualization stops after the 1st track. If you play the titles individually or switch on with a click of the mouse, the visualization works normally. This is only for mp3 tracks,…

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,450 questions
asked 2021-01-24T09:05:41.847+00:00
Josef Danksagmüller 46 Reputation points
commented 2023-09-02T01:20:54.41+00:00
Richard N Enright 0 Reputation points
0 answers

Issue with adding Service-Based Database

When I attempt to add a Service-based database to my project, I encounter an error message that reads: "Could not load file or assembly 'Microsoft.Data.SqlClient, Version=3.0.0.0, Culture=natural, PublicKeyToken=23ec7fc2d6eaa4a5' or one of its…

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,450 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,661 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
10,711 questions
asked 2023-08-31T17:59:14.01+00:00
Bahman Kazem 0 Reputation points
commented 2023-09-01T18:00:28.32+00:00
Bahman Kazem 0 Reputation points
2 answers

How to open RJ11 cash drawer in wpf c# using .net 7 framework?

public static PosExplorer posExplorer = new PosExplorer(); DeviceCollection deviceCollection = Global.posExplorer.GetDevices("CashDrawer"); CashDrawer cashDrawer; foreach (DeviceInfo deviceInfo in…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,929 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,450 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.
8,805 questions
asked 2023-08-29T11:08:34.8766667+00:00
Jenish Patel 0 Reputation points
commented 2023-09-01T12:08:33.48+00:00
Castorix31 75,636 Reputation points
1 answer

Can I use winUI 3 class library to WPF ?

I want to port my wpf app to uno platform because of uno compatible with winUI 3 xaml. So it will be easy to porting to uno. Can I use winUI 3 class library to WPF ?

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,450 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.
580 questions
asked 2023-08-29T12:18:02.3233333+00:00
mehmet yılmaz 20 Reputation points
commented 2023-09-01T09:04:59.86+00:00
mehmet yılmaz 20 Reputation points
1 answer

Magnifier with pixels grid in WPF

How can I create magnifier with pixels grid in WPF app? I need that pixels under cursor of mouse showing in circle of magnifier in enlarged size, for example like on photo.

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,450 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.
677 questions
asked 2023-08-31T11:55:47.9866667+00:00
Alexander Kvitko 21 Reputation points
answered 2023-08-31T21:41:35.15+00:00
Castorix31 75,636 Reputation points
1 answer

Center package management

When using Center package management https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management Nuget restore/MSBuild command doesn't support -if we rename Directory.Packages.props file. -if we move Directory.Packages.props file…

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,450 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.
8,805 questions
asked 2023-08-25T06:34:42.8033333+00:00
NITESH NAYEE 0 Reputation points
commented 2023-08-31T06:10:34.5733333+00:00
Hui Liu-MSFT 20,956 Reputation points Microsoft Vendor
1 answer

Real-time WPF GUI Updates in PowerShell Script Not Working

Hello Everyone, I'm facing an issue with my PowerShell script where I'm trying to dynamically update a TextBlock/Label in my WPF GUI to reflect different stages of a process. Unfortunately, I'm only seeing the default value "Not Started" and…

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,450 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,197 questions
asked 2023-08-28T07:58:01.6333333+00:00
Swahela Mulla 45 Reputation points
edited a comment 2023-08-30T20:40:46.7833333+00:00
Viorel 101.3K Reputation points
0 answers

Unable to select a month from the date picker list of months in report viewer.

In a WPF application, we are using report viewer to remotely connect to SSRS reports. In report viewer the month selection is not working in the date picker, however it works fine in reporting server. I am able to click on the arrows to change the month…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,593 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,450 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,502 questions
asked 2023-08-15T18:27:59.9266667+00:00
Monie 0 Reputation points
commented 2023-08-30T09:39:20.7233333+00:00
Hui Liu-MSFT 20,956 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to show a glyph from FontAwesome correctly

I'm trying to use a icon from FontAwesome, but it shows a box instead of the real icon. Related codes are as follows: In Fonts.xaml <FontFamily x:Key="FontAwesome">pack://application:,,,../Fonts/#Font Awesome 6 Free…

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,450 questions
asked 2023-08-29T00:59:22.92+00:00
Fanhua Kong 241 Reputation points
commented 2023-08-29T23:57:49.8533333+00:00
Fanhua Kong 241 Reputation points
0 answers

how to create presentation by ai developer

My PowerPoint presentation is not working correctly When I make a presentation by the code by the development option there is some error showing what I can do.

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,450 questions
PowerPoint
PowerPoint
A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
127 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.
2,752 questions
asked 2023-08-27T19:15:08.2666667+00:00
Vishwambhar Rathod 0 Reputation points
commented 2023-08-29T16:02:56.78+00:00
John Korchok 4,161 Reputation points
1 answer One of the answers was accepted by the question author.

What is wrong with this code here that the Background color is not working?

i created a custom Info Card control with linear gradient colors, everything works nice, but when i use it in other places on my project the Background2 color of the linear gradient colors doesn't display Here is my XAML Code: `` <UserControl…

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,450 questions
asked 2023-08-28T05:00:42.9366667+00:00
Mesh Ka 120 Reputation points
edited a comment 2023-08-29T07:45:47.36+00:00
Mesh Ka 120 Reputation points
1 answer One of the answers was accepted by the question author.

How to open my WPF application on winUI in visual studio?

I got a wpf application and I am going to port my wpf application to winUI so I need to open wpf application on winUI project to solve some api, library, class issues and so 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,450 questions
asked 2023-08-26T04:45:03.1866667+00:00
mehmet yılmaz 20 Reputation points
accepted 2023-08-28T04:59:54.5+00:00
mehmet yılmaz 20 Reputation points
1 answer

How Can I find sample WPF projects in somewhere?

My aim is to migrate my WPF application to run on linux os. I am gonna use winUI in it for using Uno Platform. So, I need some sample wpf application to try it. How can I find wpf projects? Can you send links

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,450 questions
asked 2023-08-25T12:37:20.0366667+00:00
mehmet yılmaz 20 Reputation points
commented 2023-08-28T03:20:58.4+00:00
Hui Liu-MSFT 20,956 Reputation points Microsoft Vendor
1 answer

WPF : get my wpf application in settings >> Location >> precise location list

Hi, I am trying to get my application in settings >> Location >> precise location list so that I can specifically on/off location setting for my application only. I have used Microsoft.Windows.SDK.Contracts nuget to enable uwp feature. 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,450 questions
asked 2020-05-19T03:54:09.277+00:00
Dipika Panchal 1 Reputation point
answered 2023-08-27T06:06:31.7566667+00:00
Vahid Ghafarpour 5,540 Reputation points
0 answers

How to fix XDG0062 error in WPF in Visual Studio 2019

I am using Visual Studio 2019 16.11.29 (Exactly today I updated to that version.) Several issues occurred after the update. XDG0062 "Object reference not set to an instance of an object." occurs My source code is very concise, but even if this…

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,450 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,661 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
5,703 questions
asked 2023-08-25T04:14:04.4866667+00:00
SeongJu Choi 0 Reputation points
edited a comment 2023-08-25T06:15:59.2566667+00:00
Hui Liu-MSFT 20,956 Reputation points Microsoft Vendor
1 answer

This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread.

Morning All, The problem I'm having is if i add or remove items from the "private static ObservableCollection ContinentModel _ContinentModels;" xaml crashes, so i changed it around a bit and i now get this error This type 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,450 questions
asked 2020-03-21T11:27:54.247+00:00
Marc Jeeves 386 Reputation points
answered 2023-08-25T04:31:11.0866667+00:00
Vahid Ghafarpour 5,540 Reputation points
2 answers

Styles of Window element aren't apply in Design Mode when they are coming from an external Resource Dictionary included in .dll

As the title says, I am facing an issue when styles of a Window element are coming from an external Resource Dictionary which is included into a .dll file. The problem is that they aren't apply in Design Mode!!! To be more specific... I have make a…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
8,586 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,450 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,661 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.
8,805 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.
677 questions
asked 2023-02-19T13:44:47.7233333+00:00
Simos Sigma 1 Reputation point
commented 2023-08-24T16:18:01.8266667+00:00
Jeff Huckins 0 Reputation points
1 answer

How should I do the Scale operation in the process of saving and loading the InkCanvas Stroke?

<InkCanvas x:Name="CurrentPage" PreviewMouseDown="CurrentPage_PreviewMouseDown" PreviewMouseUp="CurrentPage_PreviewMouseUp"> <InkCanvas.Background> <ImageBrush x:Name="CurrentPageImage"…

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,450 questions
asked 2023-08-24T06:58:35.12+00:00
HoneyBee 186 Reputation points
answered 2023-08-24T11:03:25.85+00:00
HoneyBee 186 Reputation points