开发者

How do I can close/hide a frame based upon a button click event in wpf?

I 开发者_开发知识库have two frames I need to a load the second frame based on the button click event which is there in the first frame, and need to hide the first frame once the second frame is loaded.


Why don't you Navigate simply? you can use NavigationService.Navigate() on button click event and navigate inside the same frame, you don't need a separate frame then. Do you have any specific requirement that you are using 2 different frames?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜