2,860 questions with Developer technologies | Windows Presentation Foundation tags

Sort by: Updated
1 answer

How to get Device Location in .NET 8 WPF App without Internet

Hi Community , Is it possible to obtain the device's location coordinates in a .NET 8 WPF application without requiring an internet connection? The goal is to access the location without relying on WINRT, as this only supports up to .NET 5. What…

Developer technologies | Windows Presentation Foundation
asked 2025-07-11T08:26:04.7333333+00:00
Sashikanta 0 Reputation points
answered 2025-07-11T15:56:43.2366667+00:00
jhonnmick 0 Reputation points
0 answers

my laptopi modern 14 b11mou 14" fhd display core i3 11th windows key not working plz help me

my laptop modern 14 b11mou 14" fhd display core i3 11th windows key not working

Developer technologies | Windows Presentation Foundation
asked 2025-07-10T18:58:06.3066667+00:00
MD. JAKIR HOSSAIN 0 Reputation points
1 answer

i have hp laptop but when i update my window my laptop's fan working continously

My laptop fan is running continuously. I don't know why it seems like there's a problem with your laptop fan. I have no idea how to fix it. Please give me a solution for it.

Developer technologies | Windows Presentation Foundation
asked 2025-07-09T02:53:38.9566667+00:00
Harjinder Kaur 0 Reputation points
edited an answer 2025-07-10T03:39:18.5733333+00:00
lomin34 komi 0 Reputation points
0 answers

Catastrophic failure while installing wsl

I was re installing wsl after I had earlier uninstalled it. But while re installing using wsl --install wsl --install -d Ubuntu wsl --install --web-download I got a pop up box saying: Windows ® Installer. V 5.0.26100.1150 msiexec /Option <Required…

Developer technologies | Windows Presentation Foundation
asked 2025-07-09T13:56:49.3733333+00:00
Pobitro Bhattacharya 0 Reputation points
1 answer One of the answers was accepted by the question author.

DEBUG Mode doesn't work in D3D11CreateDeviceAndSwapChain

i use (windows-rs)[https://github.com/microsoft/windows-rs] to develop an app using DirectAPI, but i found that it can not get debug information, eventhough i enable D3D11_CREATE_DEVICE_DEBUG in when using D3D11CreateDeviceAndSwapChain, I don't see the…

Developer technologies | Windows Presentation Foundation
asked 2025-07-08T03:23:32.6133333+00:00
tyty Exs 20 Reputation points
commented 2025-07-09T02:59:32.4166667+00:00
tyty Exs 20 Reputation points
0 answers

Question For Printing in avalonia ui for multiple size directly and Sintly

Hello Developer. i want to ask how i can print invoice or pdf ... from my avalonia ui app (some as WPF) directly withtout any dialog show from code sintly. i see multiple option some as questpdf but it not have any api for printing it be generate a pdf

Developer technologies | Windows Presentation Foundation
asked 2025-07-07T12:16:56.12+00:00
Ali Fahs 0 Reputation points
1 answer

Is there any other alternative to use the functionality of dragging and dropping an email item from new outlook1.2024.508.600 (Production) version( ) to WPF form using C#?

I have an existing functionality where I drag and email item from outlook and drop it in the WPF form and it is dropped there along with its attachments. This works fine with Classic outlook but doesn't seem to be working with New outlook (1.2024.508.600…

Developer technologies | Windows Presentation Foundation
Microsoft 365 and Office | Development | Other
Outlook | Windows | Classic Outlook for Windows | For business
Windows for business | Windows Client for IT Pros | User experience | Other
asked 2024-05-15T06:30:48.9933333+00:00
Anonymous
answered 2025-06-25T13:38:05.77+00:00
Scott Waye 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to change default color of WPF Combobox?

I want to change the color of Combobox in WPF as below. I tried changing the color with the background property of the Combobox, but the background color of the contents displayed when the combo box is clicked is changed. Is there a way to solve this by…

Developer technologies | Windows Presentation Foundation
Developer technologies | XAML
Developer technologies | C#
asked 2022-06-06T07:08:57.957+00:00
JunYoungLee 161 Reputation points
commented 2025-06-17T10:57:35.8966667+00:00
Jan-Willem Alderliesten 5 Reputation points
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?

Developer technologies | Windows Presentation Foundation
Developer technologies | .NET | Other
asked 2024-02-02T20:36:18.67+00:00
VFarkas 30 Reputation points
commented 2025-06-17T10:56:50.5966667+00:00
Jan-Willem Alderliesten 5 Reputation points
1 answer One of the answers was accepted by the question author.

How to Remove Language Folders (cs, es, tr, etc.) and resources.dll Files from WPF Project Output in .NET 8?

Hello, I’m developing a WPF application using .NET 8. In the bin output folder, several language-specific folders (cs, es, tr, etc.) are being generated along with .resources.dll files inside them, such as: …

Developer technologies | Windows Presentation Foundation
Developer technologies | C#
asked 2024-12-01T19:08:09.39+00:00
fatih uyanık 225 Reputation points
commented 2025-05-30T15:01:47.4866667+00:00
Roberto Jucá 0 Reputation points
2 answers One of the answers was accepted by the question author.

Ensuring Windows Server 2016/2019 Is Properly Configured to Accept Requests from an FTP Client

I have a C# program that makes it easy to transfer files using the ftp protocol. It works fine on Server A. But on Server B it throws an exception after the data channel is "connected," at the point where it tries to "connect" the…

Developer technologies | Windows Presentation Foundation
Windows for business | Windows Server | User experience | Other
asked 2020-07-20T12:14:54.41+00:00
Mark Rockman 131 Reputation points
edited the question 2025-05-29T21:33:09.8933333+00:00
DillanSimmons 6 Reputation points Admin
1 answer One of the answers was accepted by the question author.

How to use Microsoft. Extensions. Logging in WPF (.net 9.0) ?

I have been searching for information online for a long time, but have not found the latest correct usage method. Can you please help me? thanks

Developer technologies | Windows Presentation Foundation
asked 2025-05-25T18:04:55.7066667+00:00
929Free 641 Reputation points
accepted 2025-05-26T04:41:47.68+00:00
929Free 641 Reputation points
2 answers One of the answers was accepted by the question author.

Unable to Type Korean Characters in WPF TextBox When changing the ReadOnly Property

We have a WPF application in which the culture is set to Korean. In the application, we have added the InkCanvas to the grid and a text box is added to the canvas. While adding the text box to the canvas, we set its ReadOnly property to true and to false…

Developer technologies | Windows Presentation Foundation
asked 2025-03-18T15:16:17.72+00:00
Yathavakrishnan 40 Reputation points
commented 2025-05-22T11:35:30.39+00:00
Yathavakrishnan 40 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…

Developer technologies | Windows Presentation Foundation
Developer technologies | .NET | Other
asked 2024-04-15T13:52:54.78+00:00
Sgcino Ngema 0 Reputation points
commented 2025-05-16T06:23:31.5233333+00:00
Arghyadeep Ghosh 1 Reputation point
3 answers

How Can I Detect if the System Clock is Moved Forward or Backward in a C# WPF Application?

Hello, In my C# WPF desktop project, I want to detect if the system clock has been moved forward or backward. When such a change is detected, I would like to take specific actions. For example: Show a warning if the system clock is moved forward. Log an…

Developer technologies | Windows Presentation Foundation
Developer technologies | C#
asked 2025-01-16T10:34:03.34+00:00
fatih uyanık 225 Reputation points
answered 2025-05-14T18:42:14.8666667+00:00
Bruce (SqlWork.com) 78,236 Reputation points Volunteer Moderator
2 answers

treeview with + and lines

hi, how to make treeview with node symbol as + symbol (instead of triangle) which converts to - symbol when expanded, and how to add lines (dash lines) that makes it easy to follow the intendations of the tree. thanks in advance

Developer technologies | Windows Presentation Foundation
asked 2020-08-31T09:08:31.98+00:00
essamce 621 Reputation points
commented 2025-05-09T10:48:01.63+00:00
Puski, Zoltan 0 Reputation points
1 answer One of the answers was accepted by the question author.

Restrict portions of an application - C# Wpf

Hi, i am making a c# wpf application that has several pages and i want to protect certain pages from being accessed by certain users. what would some good aproaches to doing this be? I would really appreciate your help.

Developer technologies | Windows Presentation Foundation
asked 2025-03-01T04:09:41.4933333+00:00
alan smith 21 Reputation points
accepted 2025-04-19T06:21:43.6933333+00:00
alan smith 21 Reputation points
1 answer

WPF problem with using decimal points with ValidationRule and Lost Focus

here is my Code <StackPanel Grid.Row="2" Grid.Column="0" Orientation="Horizontal" Grid.ColumnSpan="3" Height="auto" Grid.RowSpan="2" > <TextBox …

Developer technologies | Windows Presentation Foundation
asked 2021-04-13T19:01:12.073+00:00
Brandon Boone 21 Reputation points
commented 2025-04-17T19:39:01.5566667+00:00
Abdelghani Sbai Idrissi 0 Reputation points
1 answer

Deployment WPF as self contained

Hi, I used visual studio 17.3.4. I published WPF app as self contained in .NET 9 to folder , the publish process succeeded. But the generating exe is not running ? Why? How it can be solved ? Thanks,

Developer technologies | Windows Presentation Foundation
asked 2025-04-02T15:00:59.8066667+00:00
Dani_S 4,521 Reputation points
commented 2025-04-10T12:59:45.1466667+00:00
Dani_S 4,521 Reputation points
1 answer

How to Keep New at Top of DataGrid

Consider the following code which sets up a DataGrid: ocExpenses.OrderByDescending(Function(ve) ve.ChargeDate) dgExpenses.ItemsSource = ocExpenses Dim ecv As IEditableCollectionView = dgExpenses.Items ecv.NewItemPlaceholderPosition =…

Developer technologies | Windows Presentation Foundation
asked 2025-04-06T01:20:04.2266667+00:00
RogerSchlueter-7899 1,446 Reputation points
commented 2025-04-08T21:53:36.5866667+00:00
RogerSchlueter-7899 1,446 Reputation points