All Questions
193 questions
0
votes
0
answers
193
views
Immediate mode SciChart rendering with ordering and axis positioning. Custom fast annotations
I need really quick drawing on the chart.
I have around 30 charts you can scroll through (Big chart + mini overview).
Sounds like a job for the Immediate mode Immediate mode.
I want to have the ...
0
votes
0
answers
25
views
Tooltip flickers when an off screen Item of a ListBox updated (VirtualizingStackPanel, ICollectionView)
I have a collection of contacts. Each contact has a Status indicator. Using the VirtualizingStackPanel ItemPanel, when viewing item 1-10, I am expecting any update on, say, item#100 would not cause ...
0
votes
0
answers
115
views
Text rendering as Graphics slows down the performance in WPF C# .net 6.0. how to fix it
backbuffer (WritableBitmap) contain all the data written after reading opentk lines.
opentk line rendering to imagesource is smooth if following text graphics are not rendered.
following codes are ...
0
votes
0
answers
104
views
Is there a way to create a CMYK Format Canvas without using RenderTargetBitmap first?
TL;DR mode:
Is there a way to get a BitmapSource from a DrawingVisual without using RenderTargetBitmap, whilst still having the 'crop' utility a RenderTargetBitmap affords you.
Full Question:
My issue ...
2
votes
0
answers
537
views
WPF RenderTargetBitmap returns a black image
I have to "export" a UserControl as an image, I've tried to use RenderTargetBitmap, but this outputs a black image. I tried online solution, but I seem to be missing something.
Here is my ...
2
votes
1
answer
2k
views
Draw fast graphics in WPF directly, instead of using CompositionTarget.Rendering
I have a control that throws events and I need to draw immediately after said events fire. The event fires around 15 times per second with a regular interval, and are handled as expected. I tried the ...
2
votes
0
answers
312
views
Is it possible to get WPF to render low resolution fullscreen on a high res monitor?
I have a relatively large and complex application, and it uses about 700mb of memory on a 1080p monitor. This runs fine on most machines. On a 2160p (4k) monitor the ram usage quadruples, processor ...
0
votes
1
answer
1k
views
What is the difference between UI thread and rendering thread?
The Microsoft docs state the following
Typically, WPF applications start with two threads: one for handling rendering and another for managing the UI. The rendering thread effectively runs hidden in ...
0
votes
1
answer
188
views
WPF UI element not growing when other element gets collapsed
I expected elements to take the new available space (e.g. the width) when other elements get collapsed. In my example the first button is not getting wider when I collapse the checkbox. What am I ...
0
votes
1
answer
774
views
How to render video from ARGB Frames
I'm using the Microsoft.MixedReality.WebRTC library and I am planing on using it for my next project - a Real-Time video chatting app.
I have been able to establish a connection and pass video frames ...
0
votes
0
answers
31
views
Microsoft WPF Datagrid puzzling rendering issue
I have two WPF pages that are displayed in a master WPF window. One page is for uploading documents (UploadDocuments), which has two tree-view components on it; one displays the categories that a ...
0
votes
1
answer
119
views
Use WPF in combination with hardware rendering is - laggy
I have just created a new WPF project. When I run the solution the whole window and mouse is starting to lag and that without having written a line of source code.
Everything is fine when I use the ...
-2
votes
1
answer
79
views
.net Core 3.1 WPF Switching Cleartype off?
In .NET Framework WPF there was an option to render Text in Display mode, which means beautiful pixels without Cleartype artifacts that you would get when randering with Ideal mode.
How can you ...
1
vote
0
answers
298
views
UWP Compatible package for System.Windows.Media.Imaging.WriteableBitmap and System.Windows.Media.PixelFormats
I have a WPF pdf viewer code. I'm trying to convert it into UWP.
To render the pages of a pdf, WPF uses System.Windows.Media.Imaging.WriteableBitmap.
UWP compatible Windows.UI.Xaml.Media.Imaging....
1
vote
0
answers
296
views
WPF - 300+ buttons on UI - really slow... what's the alternative?
I've got about 300+ buttons that are represented in a grid. When I try to render this, it takes a good 5 seconds to load up all buttons. Is there any alternative? Functionality that already exists ...