问题描述
我为wpf编写了简单的验证码.
窗口上有文本框.如果输入无效值或文本框为空,则Windows上将显示Validation Error Temple.这可以.我做得很好但是ı在另一个项目中使用此代码.我使用功能区菜单.当我单击功能区菜单中的功能区按钮时,我的页面将在框架中导航.但是Validation Error Temple似乎不在页面上.输入一个值,然后将其删除,将显示Temple.
我不明白为什么相同的代码具有类似的行为
I write simple Validation code for wpf.
There is text box on window . İf ı enter invalid value or textbox is empty then Validation Error Temple appears on windows.This is okay . I works very well. But ı use this code at another project.I use ribbon menü. When ı clicked ribbon button in ribbon menü, my page is navigated in frame. But Validation Error temple does not seem at page. İf a enter a value and then delete them Temple appears.
I don''t Understand. Why does same code behave like that
推荐答案
这篇关于WPF验证错误Templete似乎不是第一次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!