
If we have our own TabControl and we like to use it instead of TabbedMdiContainerTabControl inside TabbedMdi. How can we do it?
If we have our own TabControl and we like to use it instead of TabbedMdiContainerTabControl inside TabbedMdi. How can we do it?
Hello,
A third-party TabControl won't work within TabbedMdiContainer since it expects a control that inherits our AdvancedTabControl, which in turn inherits TabControl.
Our default TabbedMdiContainer template uses a TabbedMdiContainerTabControl instance in it, which inherits AdvancedTabControl. You can swap in any custom control that inherits TabbedMdiContainerTabControl if you override the default template for TabbedMdiContainer. The default styles/templates are available to WPF Studio customers, downloadable from their account. The default style/template for TabbedMdiContainer can be overridden in your app's Resources.
Or if you don't need to alter the controls themselves and just want a different style/template for the TabControl, you can set the TabbedMdiHost.TabControlStyle property. That Style will flow down and apply to all the tab controls used in the TabbedMdiContainers.
Please log in to a validated account to post comments.