What events are invoked once the controls Loaded events already fired?
My windows has many ListBoxes that load 开发者_开发百科their items in the Loaded event. After they are all loaded I have to run a method. I found out that the Grid Loaded event happens before its controls Loaded. What method will fire once after that?
While this not answers the title question, it does solve my problem.
- The
Initializedevents are fired prior theLoadedevents. - When you have
TabControlit will fire aTabItem's controlsLoadedevent every time theSelectedIndexchanges
Knowing that I:
- replaced every
Loadedevent by aInitializedone and - created a
Loadedevent for theMainWindowthat will run after allInitialized
加载中,请稍侯......
精彩评论