Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8410577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:12:51+00:00 2026-06-10T00:12:51+00:00

Hello and thanks for the help. I have a Treeview that I am populating

  • 0

Hello and thanks for the help. I have a Treeview that I am populating with a Hierarchical data template, and currently the bottom nodes have a tooltip that generates a small stack panel that is populated with data specific to the item the mouse hovers over. I also have a button sitting in the tooltip, however, as the tooltip does not persist when the mouse moves over it, I am unable to make use of the button like I need to. My xaml looks like this:

<!--===========================  Hierarchical Data template  for tree view -->
                        <!--template for bottom nodes-->
                        <sdk:HierarchicalDataTemplate x:Key="ModTemplate" ItemsSource="{Binding ApplicationModules}">
                            <StackPanel Orientation="Horizontal" >                            <!--======tooltip style to handle format for callout window============-->
                                <ToolTipService.ToolTip>
                                    <ToolTip  HorizontalOffset="0" VerticalOffset="0" Style="{StaticResource ModuleToolTipStyle}">

                                        <StackPanel Width="150" Height="auto" >
                             <TextBlock Text="Module Info" FontWeight="Bold" TextAlignment="Center"/>
                                            <TextBlock Text="Module State:" FontWeight="Bold" />
                                            <TextBlock Text="{Binding Path=ModInfo.ModuleState}" />
                                            <TextBlock Text="Module Start Time:" FontWeight="Bold" />
                                            <TextBlock Text="{Binding Path=ModInfo.ModuleStartTime}"/>
                                            <TextBlock Text="Module Down Time:" FontWeight="Bold"/>
                                            <TextBlock Text="{Binding Path=ModInfo.ModuleDownTime}" />
                                            <Button Content="More Info" Width="75"></Button>
                                        </StackPanel>

                                    </ToolTip>
                                </ToolTipService.ToolTip>
               <!--============end tooltip style for callout window===================-->

                                <ContentPresenter Margin="0 0 4 0" Content="{Binding Icon}" />
                                <TextBlock FontStyle="Italic" Text="{Binding Path=ModuleName}" />
                            </StackPanel>
                        </sdk:HierarchicalDataTemplate>

I would like the tooltip to persist when the mouse moves over it so that I can wire an event to the button. How can I achieve this? Thanks again for the help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T00:12:53+00:00Added an answer on June 10, 2026 at 12:12 am

    You have a couple options to accomplish your goal that I’m aware of. You can go check out the Silverlight Advanced Tooltips project over on codeplex which does what you want (though I personally have not used it so can’t give any kind of review.)

    Or you can make your own with some creativity. If it were me I would probably skip all that mess, forget the ToolTipService all together and just make my own to dress it up since to a user, what you’re providing isn’t what they’re used to in terms of a tooltip expectation anyway and have cross more over to a callout or popout functionality. I can make an example as soon as I get some freed up time if option #1 doesn’t work for you but I hope it does. Essentially both my way, and that project link I provided would do the same thing, which is provide a delay after the MouseLeave event of what it’s attached to so the user can get to it before it disappears. Then hand off its visibility condition to that object. Let me know if this doesnt work and I can give you an alternative example using nothing but XAML.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello and thanks in advance for your help. I have a treeview that is
I have this kinda template text : Hello {#Name#}, Thanks for coming blah on
Hello all and thanks for the attention! I have a problem that must both
Hello and thanks for your help. I have a window with a stackpanel named
Hello all and thanks for any help in advance. I have a ruby on
Hello and thanks for your help. I have a php script on my website
Hello and thanks in advance for the help. I have a sql table hosted
Hello and thanks in advance. I am retrieving data from the db. The data
Hello and thanks in advance for the communal help I always find here. I
I have a trivial Hello world C++ program that is compiled to 500kB executable

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.