169,849 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Score of 1
2 answers
98 views
Nested ICollectionView binding breaks
I have a data model with a collection of objects where each of these objects has a collection of another object. Specifically, a collection of weights where each weight has a collection of weight-...
- reputation score 67
Score of -1
1 answer
61 views
C# WPF Enlarge userControl till the ScrollViewer inside won't show its scrollbar
I have custom RichTextBoxes called MandatRichText, inside a Grid inside a ScrollViewer inside a UserControl. When the user DoubleClicks the UserControl, it needs to grow till the Scrollviewer's ...
- reputation score 19
Advice
1
vote
16
replies
197
views
Wpf or Win Forms - tile editor
I'm trying to create a console application game to really push the boundaries of what a console game can do and look like. I'm going to need to create maps with ASCII tiles and think it could be fun ...
- reputation score 1
Score of 2
1 answer
99 views
WPF DataGrid columns misaligned by one pixel when using a custom ColumnHeaderStyle
I have a DataGrid with five columns. When I apply a specific ColumnHeaderStyle on this DataGrid, some columns appear to be shifted by one pixel. The vertical line separating these columns seems to be ...
Score of 0
0 answers
47 views
WPF/DevExpress context menu returns 0 descendants via UIAutomation after first dismiss — stale AutomationPeer cache?
We are automating a WPF application built on DevExpress (FrameworkECM) using FlaUI 4.x (UIA3 / UIAutomation). The application contains a data grid. Right-clicking a grid row opens a context menu with ...
- reputation score 2003
Score of 4
1 answer
155 views
Blurring artifacts when displaying an image in XAML format
I have a simple image in .svg format, created in Inkscape. It's just a grid consisting of few lines and bricks representing cells. I converted this image in XAML using Inkscape and used it in my ...
Best practices
0
votes
6
replies
199
views
How can i improve the following program? C# ()
I'm building a small WPF desktop app (.NET, C#) with Entity Framework Core and a SQLite database for managing a restaurant menu. The data model is a two-level 1:n relationship: a Kategorie (category) ...
Best practices
0
votes
2
replies
62
views
How to implement localization in Tekla Structures Open API WPF UI design
I created a Common.WPF library project that contains some general assets, and this library is referenced by several plugins I developed for Tekla Structures. According to this link, I created a ...
- reputation score 1
Score of 0
1 answer
149 views
Expand TreeViewItem when it's selected, but not when expander is pressed
I'm trying to set it up so that, when the user selects a TreeViewItem, it expands. However, the problem is that if the user selects the expander to collapse the item, it counts as being selected.
How ...
user avatar
user16889986
Best practices
0
votes
11
replies
187
views
Optimizing imaging in WPF application
Briefly about the question:
How to reach same performance with images like explorer, FastStone Image Viewer since they allocate not so much memory unlike my app.
About the project
It's WPF C# image ...
- reputation score 117
Advice
0
votes
1
replies
65
views
WPF: binding ColorAnimation.To to a brush resource
I wrote a custom button ControlTemplate which uses VisualStates. The button will display a background glow on mouseover, in a color which can be specified in the control's markup. This color is ...
- reputation score 125
Score of 0
1 answer
111 views
TypeConverter.GetStandardValues not called by XAML IntelliSense in VS2022 for custom WPF DependencyProperty
TypeConverter.GetStandardValues not called by XAML IntelliSense in VS2022 for custom WPF DependencyProperty
I have a WPF solution with two projects:
MyLibrary — WPF class library with a custom ...
- reputation score 541
Advice
0
votes
3
replies
110
views
What would be the best way to expand this WPF layout if the application becomes larger and requires multiple page and dynamic data handling?
I'm new around here but knowing this would really help me out. Generally speaking, what would you do to make this layout better to handle a larger project with dynamic data and can work with reuseable ...
Score of 0
0 answers
94 views
FlyleafLib throws "Loading FFmpeg libraries failed" on Engine.Start in WPF application
I am developing a WPF application and decided to use FlyleafLib for video playback. I installed FlyleafLib via NuGet. Then, I downloaded the FFmpeg shared build (with .dll files) and placed it in C:\...
Score of 0
0 answers
148 views
Override value from data binding through attached property
I have a control with a binding to its Visibility property. I would like to override the binding through an attached property, whenever a certain condition is fullfilled. However, the binding is still ...
- reputation score 9974