0

In WinForms you used to be able to do this:

ToolTip hint = new ToolTip();
hint.IsBalloon = true;

as described here: How to show a .NET Balloon ToolTip? to display a balloon, as described by Microsoft here: https://msdn.microsoft.com/en-us/library/dn742400.aspx

Where is this functionality in WPF? I can find lots of people detailing how they wrote their own, but where has this functionality gone?

EDIT:

I understand that there are questions out there on how to write your own or what code is available, but I'm asking - does anyone know why this functionality is recommended by Microsoft yet not included in what is meant to be their recommended UI language (WPF)?

Community
  • 1
  • 1
GoldieLocks
  • 845
  • 7
  • 22
  • Maybe you find something in http://stackoverflow.com/questions/7541767/how-can-i-show-a-balloon-tip-over-a-textbox or http://wpfplayground.com/category/balloon/ – filhit Apr 17 '15 at 15:41
  • Linked duplicate answer does not answer this question. The linked question is how to implement a balloon message in WPF. This question is decidedly **not** asking how to implement a balloon message in WPF. This question is where is the built-in WPF control. – Ian Boyd Jan 11 '18 at 20:26

2 Answers2

0

There are some libraries out there that can help you. The other answers are correct though, WPF can be styled to look like whatever you want, the principle is the same though.

Check out https://toastspopuphelpballoon.codeplex.com/ for a library that does balloon pop-ups on WPF.

Ron Beyer
  • 11,003
  • 1
  • 19
  • 37
-1

Check out the tutorial here.

<Button Content="Submit">
    <Button.ToolTip>
        <ToolTip>
            <StackPanel>
                <TextBlock FontWeight="Bold">Submit Request</TextBlock>
                <TextBlock>Submits the request to the server.</TextBlock>
            </StackPanel>
        </ToolTip>
    </Button.ToolTip>
</Button>

You can then use typical wpf binding to bind the textblock control data to properties on your viewmodels (if you are using mvvm) if you would like.

czuroski
  • 4,316
  • 9
  • 50
  • 86
  • No - I'm not after standard tooltips, I'm after BALLOON tooltips, as described in my question and in the links I included. – GoldieLocks Apr 17 '15 at 15:20
  • As mentioned in another post, you can style a tooltip however you would like to achieve the intended effect. See the post here - http://stackoverflow.com/a/12499234/306894 – czuroski Apr 17 '15 at 15:42