Skip to content

TabControlEx

Dirkster99 edited this page May 2, 2020 · 7 revisions

A not so well known fact about the WPF TabControl is that it is virtualizing its children by default. Virtualization means here that views are loaded and unloaded every time the user switches from one tab to the other (to optimize memory usage but requiring quick load/unload implementations).

This implementation can be a problem for controls that are composed of many sub-controls or have to do a lot of data processing to initialize a view. The extended TabControlEx implementation works around this issue by implementing a constructor option that enables/disables virtualization for tabbed document containers.

Properties

Property Description
IsVirtualiting Gets whether the control and its inheriting classes are virtualizing their items or not.

See Also

Demo Projects

Controls

Layout Models

Interfaces

Class Designs

Bugs

Manual Tests

Clone this wiki locally