如何在WPF中的气泡工具提示中显示验证错误/消息 [英] How to show vaidation error/message in bubble tooltip in WPF

查看:161
本文介绍了如何在WPF中的气泡工具提示中显示验证错误/消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我不是WPF的专家,所以需要您的帮助.
我想通过将任何属性与它们相关联来扩展控件,以便每当有任何与它们相关的错误消息出现时,它都应该像工具提示一样显示在气泡中,而当没有任何消息气泡消失时.
我尝试了很多验证方法,但没有一个方法更符合我的要求.

提前谢谢...

Shehzad

Hi,

I am not an expert in WPF so I need your help.
I wanna extend my controls by associating any property with them that whenever there is any error message related to them, it should be displayed in bubble like tooltip and when there is no message bubble should disappear.
I tried lot of validations methods but none of them is even closer to my requirements.

Thanks in advance...

Shehzad

推荐答案

您可能对此线程感兴趣:
This thread may be of interest to you: how-to-implement-balloon-message-in-a-wpf-application[^]


这篇关于如何在WPF中的气泡工具提示中显示验证错误/消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆