My windows has many ListBox
es 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?
views:
23answers:
1
A:
While this not answers the title question, it does solve my problem.
- The
Initialized
events are fired prior theLoaded
events. - When you have
TabControl
it will fire aTabItem
's controlsLoaded
event every time theSelectedIndex
changes
Knowing that I:
- replaced every
Loaded
event by aInitialized
one and - created a
Loaded
event for theMainWindow
that will run after allInitialized
Jader Dias
2010-10-30 23:44:17