With 2016 docking, how do I change the AutoHideTab title?

Docking/MDI for WPF Forum

Posted 3 years ago by Brian Pratt
Version: 16.1.0633
Avatar

I want the tool window title to say the name of what is selected (this currently works correctly) while open or pinned.  

I want the tool window title to say "Properties" always when AutoHid (this is what I cant figure out).

When the tool window is open, a full title.  When it is AutoHid, always only say "Properties"  

( cant seem to attach images in this forum)

 

Any suggestions?

Thanks,

Brian

Comments (2)

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

Hi Brian,

Normally the DockingWindow.Title is what shows in the title bars and in tabs.  We also have a TabText property you can optionally set.  When that is set, that value will be used on docked tool window tabs and auto-hide tabs in place of the Title.  That allows you to have longer text for tool window container titles (e.g. "Component Properties") while keeping tab text shorter (e.g. "Properties").  Is that what you are after?


Actipro Software Support

Posted 3 years ago by Brian Pratt
Avatar

Thanks, that worked perfectly.

Just for completeness, here is what I did:

 

<docking:ToolWindow x:Name="_toolWindow_Properties"
     TabText="Properties"   
     Title="{Binding DynamicValue}">

 

TabText = AutoHid Tab Title (will always show this when ToolWindow is auto hid, collapsed)

Title = ToolWindow title when it is not AutoHid

The latest build of this product (v2019.1 build 0683) 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.