2,854 questions with Developer technologies | Windows Presentation Foundation tags
How can you unhide a Button inside a UserControl when a Page loads into a Frame on the MainWindow?
UserControl: <UserControl x:Class="Scores.Views.UserControls.MenuBar" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" …
Developer technologies Windows Presentation Foundation
Points displaying wrong
Hello I am sorry or not putting the framework correctly, but I cannot find WinUI The problem is that in the canvas my points are displaying correctly but when I go into guided mode to select my points they dont correspond I don't have point 1,…
Developer technologies Windows Presentation Foundation
WPF Cannot see SelectedItem in TreeView
I'm using WPF .Net 9.0, I cannot see the SelectedItem element of the TreeView. Anybody would know why ?
Developer technologies Windows Presentation Foundation
Developer technologies .NET Other
WPF Validation and Style Issue
Hi All, I have a textbox on screen with ValidationRule for required field validation: <TextBox Grid.Row="1" Grid.Column="1" Name="txtFirstName" Margin="10,10,5,5"…
Developer technologies Windows Presentation Foundation
two usercontrols with different dependency properties have the same content
i have a usercontrol called filtercontrol that's in a in a itemscontrol. the itemscontrol ist bound to a observablecollection. the usercontrol has a dependency property that's set a guid. wenn the guid is set the usercontrol gets data from a source to…
Developer technologies Windows Presentation Foundation
NET Core 3.1 app clickonce publish include a folder(from library project)
WPF Prism desktop project sln module folder data.txt module.cs app app.cs app references module module is a .dll project app is .exe project <Content Include="folder\data.txt"> …
Developer technologies Windows Presentation Foundation
Developer technologies C#
How to Detect Stylus Pen Sides (Pen Tip vs. Eraser) in WPF (C#)
Hello, I’m developing a WPF application in C# that interacts with a stylus pen on a Windows device. I need to detect which side of the stylus is being used—whether it’s the pen tip or the eraser side. Could someone guide me on how to achieve this…
Developer technologies Windows Presentation Foundation
Developer technologies C#
How can I see why a project cannot use "Application Timeline"
I have two startup projects in a solution - both are WPF applications that produce an .exe output tied to an xaml application. I would like to use the Application Timeline feature to analyze my app and for one project I can select the feature, but for…
Developer technologies Windows Presentation Foundation
Showing WPF window having webView2 control gives error dialog with description - Microsoft Edge can't read and write to its data directory
Showing WPF window having webView2 control gives error dialog with description - Microsoft Edge can't read and write to its data directory I have Webview2 control in WPF Window as shown below in webViewStrings.xaml file <Window…
Developer technologies Windows Presentation Foundation
OutOfMemory exception from System.Windows.Media.Composition.DUCE.Channel.BeginCommand
We're running a WPF application that renders 3d graphics into a viewport, but sometimes we get an OutOfMemoryException with the following stack trace: 2025-02-19 03:39:07,028+11:00 FATAL An unhandled exception was caught System.OutOfMemoryException:…
Developer technologies Windows Presentation Foundation

Issue with Reset Password Functionality on Company Account
The reset password window does not respond when attempting to change the password for an account with a company taken over by Totalenergies. I was previously with an electric car charging company, paying a £4 monthly fee and using my bank account for…
Developer technologies Windows Presentation Foundation
How to Save a WPF DataGrid Back to Database after Editing
Hi, I am wondering if theirs a way to save a updated Line from WPF DataGrid back to Database . I don't Know the best way to do this without going back to WinForms Apps. I would like to use WPF, any help would be appreciated.
Developer technologies Windows Presentation Foundation
Developer technologies C#
Playing Video in WPF
Description : I have a WPF Project with one Main Window under main window multiple tab item each tab item i binded with user control(Separate xaml)In user control i tried to play one video using MediaElement control... Project Setup: Project that target…
Developer technologies Windows Presentation Foundation
Developer technologies .NET Other
How to get the current page number or check if PDF viewer is on the Last page of a PDF in WPF Webview2 control?
I am working on a WPF application where I use Webview2 to display PDF files. I rely on Edge's built in PDF rendering mechanism and am not using any external PDF libraries. I've successfully loaded the PDF using the following…
Developer technologies Windows Presentation Foundation
Developer technologies C#
WPF UI Not Rendering in Custom Credential Provider Within UAC
I am developing a custom Credential Provider where I launch a WPF application as a Class Library. The WPF window is supposed to display UI elements like buttons and textboxes. However, when the Credential Provider loads and the WPF window appears inside…
Developer technologies Windows Presentation Foundation
Windows for business Windows Client for IT Pros Devices and deployment Configure application groups
AppDomain.CurrentDomain.BaseDirectory is Empty While Loading Media In WPF
Hello, I am working on a WPF window which supports multiple frameworks <TargetFrameworks>net8.0-windows;net48</TargetFrameworks> i have a media element in a window written <MediaElement x:Name="Video" …
Developer technologies Windows Presentation Foundation
Developer technologies .NET Other
Developer technologies C#
Is my technology stack suitable for a startup
I have developed a startup. My technology stack: C#, WPF, Postgresql, Dapper. Is this stack optimal for a startup? I listened to the opinions of previous developers and now I doubt it. Perhaps the problem is that the program does not work on other…
Developer technologies Windows Presentation Foundation
Community Center Not monitored
Developer technologies C#


I want to lock the current HDMI port in C# WPF (.NET Framework)?
I want to lock the HDMI port. If a HDMI port is used for a monitor then if other HDMI port is used then i want to lock existing port. How to do so in C# WPF?
Developer technologies Windows Presentation Foundation
Developer technologies .NET Other
Developer technologies C#
How to disconnect a BLE device after successful connection
I have successfully connected to BLE device by using BluetoothLEDevice.FromIdAsync(deviceInfo.Id) and bluetoothLeDevice.GetGattServicesAsync(BluetoothCacheMode.Cached) API's in unpaired mode over Windows 10 with .NET Framework 4.7.2 but I was…
Developer technologies Windows Presentation Foundation
Developer technologies C#
How to know whether the snap applied in windows 11 windows. Is there any API.
Is there a method or any API to tell if snap is enabled or disabled in Windows 11? Please answer if there is any other way.
Developer technologies Windows Presentation Foundation
Windows for business Windows Client for IT Pros User experience Other
Developer technologies XAML
Developer technologies C#
