Can we use our own TabControl inside TabbedMdiHost?

Docking/MDI for WPF Forum

The latest build of this product (v25.1.1) was released 23 days ago, which was before this thread was created.
Posted 1 days ago by David Chung
Version: 24.1.1
Avatar

If we have our own TabControl and we like to use it instead of TabbedMdiContainerTabControl inside TabbedMdi. How can we do it?

Comments (1)

Posted 23 hours ago by Actipro Software Support - Cleveland, OH, USA
Avatar

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.


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.