tags:

views:

23

answers:

1

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?

A: 

While this not answers the title question, it does solve my problem.

  • The Initialized events are fired prior the Loaded events.
  • When you have TabControl it will fire a TabItem's controls Loaded event every time the SelectedIndex changes

Knowing that I:

  1. replaced every Loaded event by a Initialized one and
  2. created a Loaded event for the MainWindow that will run after all Initialized
Jader Dias