Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
460
Tooltip over full TabHeader, not just the Text
posted

Sorry, I have to ask here again because I still don't have what I want.

According to Andrew's instructions in this post
http://ko.infragistics.com/community/forums/t/13218.aspx

I was able to create a DataTemplate that shows a Tooltip if the mouse hovers the text in the TabHeader.

However, what I want is a Tooltip to be shown if the mouse hovers _any_ part of the TabHeader, i.e. the text, the image or any free space around and in between.

I figured that I probably have to modify the ControlTemplate of the PaneTabItem to achieve this, but I don't really know what to do there.
Any help would be appreciated.

Parents
  • 1530
    posted

    Hello,

     

    I have been looking into your requirement and I have achieved the desired tooltip functionality by changing the default style for the ‘TabbedDocumentTab’ as setting the ToolTip like :

    ToolTip="{Binding Header}".

    You can find the default styled in :  

    C:\Program Files (x86)\Infragistics\2013.2\WPF\DefaultStyles\DockManager\DockManagerGeneric.xaml  

    I am attaching a sample application(WpfApplication3.zip).

     

    If you need any further assistance on this matter, feel free to ask.

    Best Regards,
    Teodor Tenev
    Software Engineer in Test
    Infragistcs
     
    WpfApplication3.zip
Reply Children