2,854 questions with Developer technologies | Windows Presentation Foundation tags
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
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#
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
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#

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

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
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
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
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#
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
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
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
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
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
WPF RadioButton Binding Issue with Dictionary in MVVM
Hello, In my WPF project, I'm trying to filter data by binding the IsChecked states of RadioButton controls to a Dictionary<string, object> property named Filters in my ViewModel. However, when users change the IsChecked state, the setter of…
Developer technologies Windows Presentation Foundation
WPF MVVM: Dictionary<string, bool> Binding Issue (SetProperty Not Triggering)
Hello In my WPF MVVM project, I'm using a Dictionary<string, bool> to store filtering options. I'm updating this dictionary using the SetProperty method and binding it to the IsChecked property of RadioButton controls in my UI. However, when the…
Developer technologies Windows Presentation Foundation
Win11 - User32.GetRawInputData fails to read data since 24H2
Background: We are using HwndHost class to host child window inside WPF application. From WndProc method we are forwarding input messages (WM_INPUT) to child process/window using User32.SendMessage. The child process/window WndProc method then receives…
Developer technologies Windows Presentation Foundation
Windows for business Windows Client for IT Pros User experience Other
Developer technologies .NET Other
How to Put New Row at Top of DataGrid
I have a DataGrid with a DataTable as its Source. I would like the new row to be at the top of the grid. All of the pages I've looked at for NewItemPlaceholderPosition show it to be a property of an IEditableCollectionView. Is there a way to put the…
Developer technologies Windows Presentation Foundation
Understanding %temp%\.net Folder | WPF | Single File | Self Contained | WebView2
When developing a single file self-contained WPF application using .NET 8 that uses the WebView2 component, a folder is created under %temp%\.net while the application is running. What is the purpose of this folder, when and how is it created, and is it…
Developer technologies Windows Presentation Foundation
Impact of Changing Framework Order in runtime.config.json on Application Stability
Description: I am working on a .NET 8 WPF application that undergoes obfuscation using SmartAssembly. During the build, runtime.config.json is generated automatically, but SmartAssembly picks WindowsBase.dll from Microsoft.NETCore.App instead of…