Alternative for AllowsTransparency
Hi, We are facing some memory issues in our WPF Application. While searching for them I have found this particular MSDN link:- https://video2.skills-academy.com/en-us/troubleshoot/dotnet/framework/wpf-render-thread-failures In this link, several…
![](https://techprofile.blob.core.windows.net/images/NhkrylFCqEiUzgd3au5ONw.png?8D7FAD)
Character Handler in WPF
Hi, I would like to jump in a ListView (GridView) by entering letters to the entry that starts with these letters in the first column. Unfortunately, this does not already happen automatically. Therefore I wanted to implement it myself. But I notice…
Specifics of the ModelProperty.SetValue method from Microsoft.Windows.Design.Interaction.dll
0 Are there any peculiarities of the method SetValue from Microsoft.Windows.Design.Model.ModelProperty class (Assembly Microsoft.Windows.Design.Interaction.dll) When I assign a value using this method, it appears in the XAML file but is not…
expanded issue in virtualized treeview
I decided to use UI virtualization, because there are a lot of items in the treeview. But there are some problems. When I expand a node with 1000 child nodes, the UI does not display normally. And it has scrolling issues: not smooth…
How do I select, specify, or multi-column with SqlQuery in C# WPF Entity Framework?
I'm using WPF, C#, Entity Framework database-first with a SQL Server database. I did execute this query with successfully in SQL Server: SELECT SUM(MEGHk) AS Meghksm, SUM(MABL_K) AS Mablksm, SUM(N_MOIN) AS N_MOINSM, …
Is there a way to draw lines in 3D space using WPF?
I'm trying develop a WPF application using a Viewport3D control. I need to be able to draw lines in 3D space to draw satellite orbits and rocket trajectories around a globe, so I really need the lines to be occluded by the globe when they are on the…
![](https://techprofile.blob.core.windows.net/images/NhkrylFCqEiUzgd3au5ONw.png?8D7FAD)
WPF XAML: Custom Window Style not working
I am attempting to customize the window style in a WPF .NET Core 3.1 application in VS2019 v16.10.1 and previous. I'm following along with a video, currently adding the style directly in the MainWindow.xaml. None of my style shows up in the XAML design…
![](https://techprofile.blob.core.windows.net/images/NhkrylFCqEiUzgd3au5ONw.png?8D7FAD)
How to convert RadioButtion values to integers
I have two RadioButtons on a wpf window that the user can use to indicate whether a transaction is of type credit or debit. The DataContext of the window is a transaction with an integer property TypeID. I am trying to bind the RadioButtons to this…
In VS2015 professional update 3 The Windows Software Development Kit (SDK) required by the XAML Designer was not correctly installed.
Hi All, Recently I update my OS from windows 8.1 to windows 10. After completing the Visual studio 2015 professional update 3. When I lunch the my WPF application I found that XAML design forms are not loading and I am getting below SDK exceptions. …
![](https://techprofile.blob.core.windows.net/images/NhkrylFCqEiUzgd3au5ONw.png?8D7FAD)
C# WPF Problem with Viewmodels executing business logic twice. Once on Application Loading and then again when User Selects their View
I have a problem trying to find a way to avoid my ViewModels executing their business logic eg methods calling to database to load tables etc twice. I can see that when I run my application (windows desktop) the ViewModels execute their methods during…
How to get the name of a node in XML
I'm learning to use C# to read an XML file. In specific, I use this line: XmlNodeList bookname = xmlDoc.GetElementsByTagName("book"); In the XML file, I have: <book name="Side-on Apparition"> So how can I get…
Displaying several random images in several Image Controls from a folder without repeating in WPF?
First and foremost, I apologize for my grammatical errors; my first language is Persian (Iran). I have 30 images (*.png) that i want to display randomly in 30 Image Control. I wrote the following codes but ... XAML codes <GroupBox…
Add data to new table in One-to-Many relationship using Entity Framework Core
I am trying to build a simple example where I have Projects, each project will have own time schedule, time schedule will consist of tasks. Currently I have built my interface so that user is able to add new Project to ComboBox. Then by selecting project…
How to view "xaml" and "Style" in the.NET Framework source code
I downloaded the.netframework4.7.2 source code to look at the control's source code. The controls XAML and Style are not found.
Media Element Keeping Files Open
I have a media element next to a list of picture files. When the user clicks a picture in the list it displays in the Media Element. When the user chooses to delete the file I'm setting the Media Element's source to nothing before displaying a…
![](https://techprofile.blob.core.windows.net/images/NhkrylFCqEiUzgd3au5ONw.png?8D7FAD)
how to make single app msi file for my app with webview 2 runtime (exe) offline installation?
Recently I have worked webview 2 application It is working fine.But During the setup , I need to install webview 2 runtime (exe) by manually in my systems. so I want to bundle this exe into my app and make it as single output file (msi) , also when…
![](https://techprofile.blob.core.windows.net/images/NhkrylFCqEiUzgd3au5ONw.png?8D7FAD)
The Background color painted on the Button occurs on scrolling slowly using horizontal scrollbar
Replication: Make sure the horizontal scrollbar is positioned to the far left Move the horizontal scroll bar very slowly Observe the Background color painted on the Button. Expected result: Background color should not paint on the…
![](https://techprofile.blob.core.windows.net/images/NhkrylFCqEiUzgd3au5ONw.png?8D7FAD)
ICommand secrets :) Can I creamte my own ICommand replacement ?
Hello, I have a small testing code for MVVM in MS VS 2019 v16.9.4 C# .NET5: https://drive.google.com/file/d/17-GjKU1E22FPJ7szMBoI5Y_H_g6Z-uQh/view?usp=sharing There are only "class VM" and standardized "RelayCommand :…
Printing datagrid rowdetails ignores code changes in LoadingRowDetails method
I have a WPF datagrid showing a list of members. When a member is selected, rowdetails open showing further details for that member. I catch the LoadingRowDetails event in order to make certain format changes in the rowdetails, depending on the nature…
Is it possible to add another Windows form inside MainWindow form using WPF C#?
In MainWindow.xaml: <avalonDock:LayoutDocument x:Name="docBlock1" ContentId="contentBlock1" Title="Block 1"> <StackPanel x:Name="spBlock1" Loaded="spBlock1_Loaded" /> …
![](https://techprofile.blob.core.windows.net/images/4o8trP2_AwAAAAAAAAAAAA.png?8D92F6)
![](https://techprofile.blob.core.windows.net/images/4o8trP2_AwAAAAAAAAAAAA.png?8D92F6)