Is there a “All Children loaded” event in WPF

后端 未结 7 964
陌清茗
陌清茗 2020-12-13 02:49

I am listening for the loaded event of a Page. That event fires first and then all the children fire their load event. I need an event that fires when ALL the children have

7条回答
  •  盖世英雄少女心
    2020-12-13 03:22

    I had the same problem. @configurator is right, if you are having this problem then I believe it is because you have a problem with your child elements. In my case the child elements where a custom user control. I was initializing them incorrectly. I fixed the user control and everything worked great

提交回复
热议问题