ToolWindowContainer - Autohide Tabs Margin question

Docking/MDI for WPF Forum

Posted 7 years ago by Hamid Noorbakhsh
Version: 12.1.0561

I needed 4 pix Margin all around to be used for a dropshadow and since I have access to source code, I have modified the Style for one Control by modifying what you have as

<Style x:Key="{x:Type docking:ToolWindowContainer}" TargetType="{x:Type docking:ToolWindowContainer}"
BasedOn="{StaticResource RaftableDockingWindowContainerStyleBase}">


The have sucessfully set the template to exactly what I want. Everything works fine, EXCEPT when the Container is set to AutoHide the Tabs that are showing docked to the outer border are not placed correctly. I need them to be shifted 4 pixels. So in a bottom docked container, the first tab should have a margin of 4 on the right side, and if docked to right, it should have a Margin of 4 from the top.

I just can not find the Template for the container that holds these tabs to apply the Margin. Could you tell me where I need to look?

[Modified 7 years ago]

Comments (2)

Answer - Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Hamid,

What you're looking for is the AutoHideTabItem in AutoHide.xaml, which is under Themes/Includes/Styles.

Actipro Software Support

Posted 7 years ago by Hamid Noorbakhsh

Thank you, actually I noticed that the tabs were stretched to teh entire DockSite, so I realized that and was working there, so I am glad I was in the right place.

The latest build of this product (v2018.1 build 0675) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.