2,751 questions with Windows Presentation Foundation tags

Sort by: Updated
1 answer

How to Write/Store data in an Excel spreadsheet that is located at Share Point?

I am working on writing or storing the data into Excel spreadsheet that is located at a Share Point site. I am able to connect to the Share Point site and obtaining the excel spreadsheet by passing the relative URL. Using Memory Stream, the contents of…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,756 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,751 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,789 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,563 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,800 questions
asked 2024-08-28T10:42:09.1+00:00
Lakshmanan B 81 Reputation points
commented 2024-08-30T12:36:21.6266667+00:00
Lakshmanan B 81 Reputation points
2 answers One of the answers was accepted by the question author.

Is it possible to read/store/retrieve data from Excel spreadsheet from Share point site to WPF application?

Hi, I have connected to Share Point site referring the following blog: https://www.c-sharpcorner.com/article/sharepoint-csom-for-net-standard/ I have created a sample test spreadsheet in the Documents Library named *testSpreadSheet.xlsx * I have a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,756 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,751 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,789 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,563 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,800 questions
asked 2024-08-20T15:12:24.4533333+00:00
Lakshmanan B 81 Reputation points
accepted 2024-08-30T10:24:39.5966667+00:00
Lakshmanan B 81 Reputation points
0 answers

.NET WPF Project in C#,validations and checks seem to be working in developer PC but get skipped in user PC

Hi, I have a .NET WPF C# application running on 4.7.2 framework .i had a working stable application for 6 years with users using by click once ,downloading the wpf application and some users using RDWeb .Suddenly from past 3 months all checks and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,756 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,751 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,800 questions
asked 2024-08-30T07:24:40.84+00:00
vamsi krishna 20 Reputation points
commented 2024-08-30T09:20:06.3766667+00:00
Hongrui Yu-MSFT 1,515 Reputation points Microsoft Vendor
1 answer

WPF: Drag & Drop virtual folder from WPF to File Explorer

Hi, I am developing ADB Explorer, a UI for ADB in WPF. I am trying to implement support for Drag & Drop to Push / Pull files between PC and a device connected via ADB, and while accepting files dragged into the app is quite easy since I can just use…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,756 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,751 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,800 questions
asked 2024-08-24T08:50:24.6533333+00:00
Alex SSB 20 Reputation points
commented 2024-08-30T08:30:54.1+00:00
Hongrui Yu-MSFT 1,515 Reputation points Microsoft Vendor
1 answer

[Prism] WPF MVVM How do I get other views to to work with binding custom UserControl?

I am trying to understand MVVM WPF using Prism with a sample application. I have a menu bar on the side that allows for navigation to other views. I also have a custom UserControl that I plan to reuse through all the views. I have a dependency property…

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,751 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,800 questions
asked 2024-08-24T14:22:16.9366667+00:00
Luis Magana 0 Reputation points
answered 2024-08-30T00:23:06.3666667+00:00
youzeliang 400 Reputation points
3 answers

How to convert outlook email (.msg) to pdf c# ?

Are there any free libraries using which I can convert outlook emails i.e. .msg files to pdf in my WPF c# app? I've tried using PDFSharp like below but the data is not showing properly at all. The email body contains tables and text and sometimes it may…

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,751 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,800 questions
asked 2023-05-09T07:35:53.6466667+00:00
don bradman 621 Reputation points
commented 2024-08-29T07:55:20.8133333+00:00
Castorix31 83,926 Reputation points
1 answer

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.
3,756 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,751 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,800 questions
asked 2024-08-28T06:30:35.0266667+00:00
Vishal2 Bansal 125 Reputation points
answered 2024-08-28T15:56:10.3866667+00:00
youzeliang 400 Reputation points
3 answers One of the answers was accepted by the question author.

How to include PDF Viewer in WPF Application

Hi I have to include the pdf viewer in my wpf application. It should have ability to navigate to other pages of pdf. It should should pdf in fullscreen mode. Currently i found no support in wpf . Please help in this case.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,756 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,751 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,800 questions
asked 2024-08-16T10:51:35.4633333+00:00
Vishal2 Bansal 125 Reputation points
accepted 2024-08-28T06:16:02.1133333+00:00
Vishal2 Bansal 125 Reputation points
1 answer One of the answers was accepted by the question author.

.Net Framework 4.8 on Windows Server 2008 R2

Hi All, We have a WPF application built on .Net Framework 4.8. This application must be able to run on 'Windows Server 2008 R2'. Since 'Windows Server 2008 R2' does not have .Net Framework 4.8, we tried to install it on this server but ended up getting…

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,751 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,800 questions
asked 2024-08-27T08:49:47.25+00:00
S Abijith 366 Reputation points
commented 2024-08-27T13:07:12.41+00:00
S Abijith 366 Reputation points
1 answer One of the answers was accepted by the question author.

After I upgrade Visual Studio 2022 from 17.11 preview 7 to 17.12 just now, my WPF project not functioning properly

It stuck at the the following code: public partial class MainWindow : Window { public static MainWindow? Current { get; private set; } public MainWindowViewModel ViewModel { get; private set; } public 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,751 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,004 questions
asked 2024-08-15T07:41:54.2266667+00:00
Smith Tom 25 Reputation points
edited a comment 2024-08-26T23:10:29.6533333+00:00
Smith Tom 25 Reputation points
2 answers

Multiple CheckBox controls in a DataGrid cell

Hello, In the DataGrid control I would like to add a column in which each cell would contain a list of checkbox controls (for each cell there can be a different number of such checkboxes with different descriptions). I don't know how to define such 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,751 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,800 questions
asked 2021-02-19T13:22:30.387+00:00
Paweł Łepko 26 Reputation points
edited an answer 2024-08-26T17:59:03.6+00:00
Yuriy Elkine 0 Reputation points
1 answer One of the answers was accepted by the question author.

Button Items Event in WPF

In WPF I use a Button that contains an image to select the visual styles that when pressed by the user displays items that I add by program and that for standardization are of type "System.Windows.Controls.MenuItem". 1.- I need that when 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,751 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,800 questions
asked 2024-08-25T02:41:54.1+00:00
zequion 361 Reputation points
accepted 2024-08-26T06:09:23.73+00:00
zequion 361 Reputation points
1 answer One of the answers was accepted by the question author.

WPF Cannot Find Image Resource

In WPF I have added 2 images and I have included them in the solution explorer. It compiles well but when running, when it is initializing, a message appears saying that the images have not been found. I have cleaned, I have deleted .vs and .obj and it…

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,751 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,800 questions
asked 2024-08-25T05:33:03.7766667+00:00
zequion 361 Reputation points
accepted 2024-08-26T04:46:47.73+00:00
zequion 361 Reputation points
2 answers One of the answers was accepted by the question author.

How Can I Add Microsoft Windows SDK for .NET in a WPF Project?

Hi there, I want to add Microsoft Windows SDK in my existing WPF project. Now comes into the story that why I need it? Actually, I have an existing WPF project from my office, where Windows SDK is already been there and that project is working 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,751 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.
771 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,800 questions
asked 2024-08-23T05:02:16.65+00:00
MERUN KUMAR MAITY 556 Reputation points
commented 2024-08-25T07:16:02.65+00:00
MERUN KUMAR MAITY 556 Reputation points
1 answer

I need application always has the fixed, 100% scale, even if system settings are 200% per monitor or per whole system

Is there a way to disable scaling for all the WPF application even if windows has some scale per monitor or system-wide scale? I need to have WPF windows that is always 1:1 with physical pixels (DPI is always 96), and by this time I found no way to 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,751 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,800 questions
asked 2024-08-03T21:54:46.15+00:00
MERUN KUMAR MAITY 556 Reputation points
commented 2024-08-25T02:06:06.0933333+00:00
MERUN KUMAR MAITY 556 Reputation points
2 answers

How do you use the 26100 SDK with .NET?

Using the latest visual studio, all current updates, build system is OS version 22621, deploying to OS version 26100. 26100 SDK is installed from Visual Studio installer. Create a blank "WPF Application" project from Visual Studio Target…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,756 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,751 questions
asked 2024-06-21T20:42:25.8866667+00:00
yoyodyne01 61 Reputation points
commented 2024-08-22T12:19:26.23+00:00
Hưng Chíp 0 Reputation points
0 answers

how to launch WebView2 control in C# WPF application like an editor

Hi, How can launch Webview2 as an editor in WPF application with VS2022? As of now I have launched that as dialog (modal) Thanks in advance!!

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,751 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,004 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,800 questions
asked 2024-08-19T17:41:03.6+00:00
Ajay Gera 20 Reputation points
commented 2024-08-22T09:39:34.88+00:00
Hongrui Yu-MSFT 1,515 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to refresh DB connection in a WPF app using MVVM pattern with Entity Framework and Oracle as DB?

I have a WPF application that uses Entity Framework and Oracle as the database and follows the MVVM pattern. Each ViewModel initializes its own DBContext and uses it. When I click a button/link then, it refresh the DB connection. Also how to add 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,751 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,800 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.
800 questions
asked 2024-08-21T04:54:32.44+00:00
Santhosh Badam 40 Reputation points
commented 2024-08-22T09:05:44.1966667+00:00
Hongrui Yu-MSFT 1,515 Reputation points Microsoft Vendor
2 answers

Auto Complete for TextBox in WPF (MVVM)

Hi, Does anyone know an easy way to impelement Auto Complete for TextBox in 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,751 questions
asked 2022-05-08T19:36:40.633+00:00
Sarah 186 Reputation points
edited a comment 2024-08-22T08:34:19.76+00:00
Laïla Blomme 0 Reputation points
3 answers

how update WebView2 control in C# WPF application as per Color Theme selected in visual studio 2022 like Light, Dark etc

how update WebView2 control in C# WPF application as per Color Theme selected in visual studio 2022. Color theme can be changed in visual studio 2022 from Tools -> Options -> Color Theme:

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,751 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,004 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,800 questions
asked 2024-08-19T17:46:32.5333333+00:00
Ajay Gera 20 Reputation points
commented 2024-08-22T07:28:02.0366667+00:00
Hongrui Yu-MSFT 1,515 Reputation points Microsoft Vendor