Search code examples
c#wpfmvvmballoon-tip

How can I show a Balloon Tip over a textbox?


I have a C# WPF application using XAML and MVVM. My question is: How can I show a balloon tooltip above a text box for some invalid data entered by the user?

I want to use Microsoft's native balloon control for this. How would I implement this into my application?


Solution

  • I've been searching for a better solution than the BalloonDecorator, and ran across the http://www.hardcodet.net/projects/wpf-notifyicon project. It is using the WinAPI at the lowest level, which might give you a head start on building your own solution. It appears that at first glance it could potentially solve it, but I haven't had enough time to verify that the BalloonTip can be made to behave as you've described.

    Good luck on your project!