Inheriting System.Windows.Controls.Panel
Posted
by modosansreves
on Stack Overflow
See other posts from Stack Overflow
or by modosansreves
Published on 2010-05-10T23:40:00Z
Indexed on
2010/05/10
23:44 UTC
Read the original article
Hit count: 223
wpf-controls
|wpf
I use the Panel
to provide custom layout of UIElements.
For this, I override MeasureOverride
and ArrangeOverride
. In ArrangeOverride
proper locations are given to Children.
In my application, there is a bunch of rather heavy (by number of visuals) children inside the panel, but only 2 of them are located inside the visible region at a time.
Working with my application I feel like all the visuals are drown.
I need to introduce a kind of 'virtualization' and make the children render (or take CPU cycles) selectively.
How do I?
© Stack Overflow or respective owner