Skip to main content

All Questions

Tagged with
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 ...
okipol's user avatar
  • 1,229
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 ...
Uncle-PiE's user avatar
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 ...
Shree John's user avatar
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 ...
Logan's user avatar
  • 826
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 ...
CiucaS's user avatar
  • 2,138
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 ...
Gerhard Schreurs's user avatar
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 ...
user3190036's user avatar
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 ...
Igor Popov's user avatar
  • 10.1k
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 ...
IngoB's user avatar
  • 2,999
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 ...
AsPas's user avatar
  • 439
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 ...
Steve Naidamast's user avatar
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 ...
Its_Me's user avatar
  • 1
-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 ...
be_mi's user avatar
  • 561
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....
Gayashan Rathnavibhushana's user avatar
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 ...
uaswpff's user avatar
  • 75

15 30 50 per page
1
2 3 4 5
13