How can I show a Balloon Tip over a textbox?

后端 未结 4 1347
情话喂你
情话喂你 2020-12-24 15:28

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

4条回答
  •  醉梦人生
    2020-12-24 16:03

    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!

提交回复
热议问题