Set tooltip in MonthItemTemplate

3 posts, 1 answers
  1. Inge
    Inge avatar
    13 posts
    Member since:
    Jul 2013

    Posted 26 Aug 2013 Link to this post


    We are currently customizing The radscheduleview with a lot of custom styles and templates. One of the customer's requirements is to associate a remark with a date, We try to make this visible in the Radscheduleview by styling the TimeRulerItemTemplateSelector.MonthItemTemplate:

    <TextBlock HorizontalAlignment="Left" Text="{Binding FormattedValue}"/>
    <Image Height="15" HorizontalAlignment="Right"  Margin="0,0,100,0" Source="pack://application:,,,/Images/speech_bubble.png">
    <TextBlock Text="Hi! I'm a tooltip"/>

    It's a very simplistic example, in our app we bind the text and visibility, but this has the same issue:
    The Balloon displays nicely (image in attachment), but unfortunately the tooltip never pops up when you hover over the image. I guess this has something to do with the style, I'm guessing Zindexes but after experimenting a bit with the default styles I can't get the tooltip to show..

    Any suggestions?

    Thanks in advance!

    EDIT: we use the Windows8 theme btw
  2. Answer
    Masha avatar
    355 posts

    Posted 29 Aug 2013 Link to this post

    Hi Inge,

    We were not able to reproduce the problem. I attached the sample test project I used to test the issue. Please feel free to modify it in order to show us how to reproduce the described behavior.

    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. Inge
    Inge avatar
    13 posts
    Member since:
    Jul 2013

    Posted 29 Aug 2013 Link to this post

    Hi Masha,

    Thanks for the reply.
    In your example, you had all views defined. We only use monthview, so the button to go to the dayviewdefinition was disabled.
    Because the controltemplate was disabled, my Icon was too, which was the reason for the tooltip not showing.
    Setting ToolTipService.ShowOnDisabled="true" on my icon solved my problem, thanks for the help!

Back to Top