WPF Page refresh

∥☆過路亽.° 提交于 2019-12-24 11:43:47

问题


1.How to close or cancel the pop up window in Button click.?

  1. When i update the data in pop up window, the same time how to refresh the datagrid in main page.?

回答1:


Close a popup by optionally setting DialogResult to true/false and then calling Close(). You can set the IsDefault or IsCancel property on a button to automatically set the result & close.

You need to provide more information for your datagrid question.



来源:https://stackoverflow.com/questions/781250/wpf-page-refresh

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!