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 8537275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:51:46+00:00 2026-06-11T10:51:46+00:00

I have an very, very huge application in WPF with a Ribbon in it.

  • 0

I have an very, very huge application in WPF with a Ribbon in it. The ribbon contain a bunch of RibbonControls, each binded to a different command. On every control, we put a ToolTip. We overrided these ToolTip templates to use a control of our own, which gives more information. We could call il a superToolTip.

The override of the tooltip templates is working just fine. Now we want to unify the way the tooltips are showing. What I mean is we want the same initialShowDelay, ShowDuration, etc., for every single tooltips in the application (there are tooltips elsewhere than in the ribbon, which use the same home made control that the ones of the ribbon). So, I binded the ToolTipService.InitialShowDelay, ToolTipService.BetweenShowDelay, ToolTipService.ShowDuration properties to global constants in the application.

InitialShowDelay :
The property InitialShowDelay is working just fine for almost every control in the application… The only one not working is RibbonSplitButton, which keep the default value of 400…

BetweenShowDelay :
The property BetweenShowDelay is working just fine when the tooltip is on a ListBoxItem… but not working in the Ribbon nor in a complex control of our own (a Property Grid).

These properties are set in the control on which the tooltip is set, and not on the tooltip themselves.

I honestly have absolutely no idead why it is behaving this way… Anyone has any idea on what could cause this or how to solve it?

If you need more information, do not hesitate to ask, i really am desperate about this.

Thank you very much!

  • 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-11T10:51:47+00:00Added an answer on June 11, 2026 at 10:51 am

    The problem was that the condition for BetweenShowDelay wasn’t respected, you need to have a value set for the property “ToolTip”, in this case you were using a template, so the value was at null. You can resolve it this way :

    <Style x:Key="{x:Type ToolTip}" TargetType="ToolTip">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ToolTip">
                        <Utils:ToolTipControl DataContext="{Binding ToolTipInfo}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    

    and then place the dummy in the specified button :

        <!-- RibbonButton -->
    <Style TargetType="{x:Type ribbon:RibbonButton}" BasedOn="{StaticResource RibbonControlStyle}"  >
    
        <Style.Triggers>
            <DataTrigger Value="true" >
                <DataTrigger.Binding>
                    <Binding Converter="{StaticResource IsBoundConverter}" />
                </DataTrigger.Binding>
                <Setter Property="Command" Value="{Binding}" />
                <Setter Property="ribbon:RibbonControlService.Label" Value="{Binding Name}" />
                <Setter Property="ribbon:RibbonControlService.SmallImageSource" Value="{Binding Icon}" />
                <Setter Property="ribbon:RibbonControlService.LargeImageSource" Value="{Binding LargeIcon}" />
                <Setter Property="Visibility" Value="{Binding Visibility}" />
                <Setter Property="ToolTip" Value="dummy"/> <!-- Use dummy value to force tooltip to show and to Bind the tooltip-->
            </DataTrigger>
            <DataTrigger Value="false" >
                <DataTrigger.Binding>
                    <Binding Converter="{StaticResource IsBoundConverter}" />
                </DataTrigger.Binding>
                <Setter Property="Background" Value="#FF900000" />
            </DataTrigger>
        </Style.Triggers>
    
    
    
    </Style>
    

    That way the dummy value will be override.

    😀

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

Sidebar

Related Questions

I have a very huge file in which I need to obtain every nth
I have a very simple RichTextBox control in a silverlight 5 application. <RichTextBox x:Name=rtbControl
I have this very huge XML file of size 2.8GB. This is Polish Wikipedia's
I have been asked to work of a very large web application and deploy
I am working on a WPF/Prism 4/AvalonDoc application. One of my views is very
Suppose you have a HUGE application "develoopped" ;) by a big team. Here is
Our application requires very huge memory since it deals with very large data. Hence
I have a huge demand for people who want an application to connect to
I currently have a web based private chat application that is going very well.
I have huge troubles running my cakephp application now. after upgrading vom lenny to

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.