N
N
Nik Faraday2021-08-25 02:32:21
.NET
Nik Faraday, 2021-08-25 02:32:21

What is responsible for rendering WPF elements and is it related to tunneling?

Hello!
I have the following question: what is the answer to rendering elements in WPF, more precisely, how does it look under the hood, for example, changing the appearance for a button and other elements

In the end, is it related to tunneling (When to invisible / unable elements you can "call" and call some kind of script on them)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nik Faraday, 2021-08-25
@NikFaraday

I dug up some information about graphics rendering:

  • Windows Forms - uses User32.dll and GDI/GDI+ for
    rendering User32.dll - stores all finished
    GDI/GDI+ elements - system for rendering elements pixel by pixel
  • WinForm uses CPU for rendering
  • WPF - uses DirectX for rendering
  • WPF uses VIDEO CARD for rendering

Based on the above, tunneling, in theory, is possible in both WinForm and WPF, so still, perhaps it does not depend on this? If yes, then from what? :\
UPD: Found an article about tunneling in WPF, who are interested, you can read
https://www.c-sharpcorner.com/article/difference-b...

R
Roman, 2021-08-25
@yarosroman

https://github.com/dotnet/wpf You can climb and see

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question