Is there a “All Children loaded” event in WPF

后端 未结 7 960
陌清茗
陌清茗 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:18

    WPF cant provide that kind of an event since most of the time Data is determining whther to load a particular child to the VisualTree or not (for example UI elements inside a DataTemplate)

    So if you can explain your scenario little more clearly we can find a solution specific to that.

提交回复
热议问题