TabControl in WPF only supports lazy-loading of the views inside the tabs. The
by this library supports lots of different options.
Inherits from System.Windows.Controls.TabControl.
|LazyLoading||Load all tabs using lazy loading, but keeps the tabs in memory afterwards.|
|LazyLoadingUnloadOthers||Load all tabs using lazy loading. As soon as a tab is loaded, all other loaded tabs will be unloaded.|
|EagerLoading||Load all tabs as soon as the tab control is loaded.|
|EagerLoadingOnFirstUse||Load all tabs when any of the tabs is used for the first time.|
|LoadTabItems||Gets or sets load tab items strategy (LazyLoading, LazyLoadingUnloadOthers, EagerLoading or EagerLoadingOnFirstUse);|
How to use
<orc:TabControl LoadBehavior="EagerLoading"> <TabItem ... /> <TabItem ... /> <TabItem ... /> </orc:TabControl>
We would like to thank the following contributors:
Want to contribute to the documentation? We have a guide for that!
Have a question about Catel or WildGums controls? Use StackOverflow with the Catel tag!