Disables the Unload of TabItemExt Content in WPF TabControl (TabControlExt)

While switching the TabItems in TabControl the content of previously selected items will be unloaded. To enable or disable unload of TabItemExt content the IsDisableUnloadTabItemExtContent property can be used.

<syncfusion:TabControlExt Name="tabcontrol" IsDisableUnloadTabItemExtContent="True">

   <syncfusion:TabItemExt Header="tab1">

     <TextBlock Text="content1" Unloaded="TextBlock_Unloaded"/>

   </syncfusion:TabItemExt>

   <syncfusion:TabItemExt Header="tab2">

     <TextBlock Text="content2" Unloaded="TextBlock_Unloaded_1"/>

   </syncfusion:TabItemExt>

</syncfusion:TabControlExt>
tabcontrol.IsDisableUnloadTabItemExtContent = true;

When the value is set to true the TabItem content will not get unloaded during tab switching.