1

I have an problem. I have tabitems and if these items have images in the in the header, the window_loaded event is triggered before the window become visible. If the tabitems are just plain old tabitems, the window is visible before the loaded event. Does anyone know why is that happening?

Steven
  • 391
  • 1
  • 4
  • 18

2 Answers2

3

As described here, I believe that you really should be using Window.ContentRendered instead of Window.Loaded

Community
  • 1
  • 1
StillLearnin
  • 1,391
  • 15
  • 41
0

@StillLearnin thanks for pointing to the right direction.

Instead of using Window_Loaded event I used Window_ContentRendered

voytek
  • 2,202
  • 3
  • 28
  • 44
Steven
  • 391
  • 1
  • 4
  • 18