Loaded event doesn't fire for the 4th TabControl tab

泄露秘密 提交于 2019-12-11 18:51:48

问题


I'm pretty new to WPF and I'm working on a small C# application that has a WPF TabControl with 4 tabs. I'm doing some minor things in each tab when the tab loads (loading combo box values, etc.) but I'm having a problem with the 4th tab not firing the Loaded event.I've verified that the position is the problem by switching the order around among the four tabs. Whatever tab is in the last position will not fire the Loaded event, whatever tabs are in the first three positions are working fine. I'm at a loss at this point. Suggestions?

来源:https://stackoverflow.com/questions/9364656/loaded-event-doesnt-fire-for-the-4th-tabcontrol-tab

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