Silverlight: get event when children of panel changes
问题 Is there a way to get a event from a Panel when a child is added or removed? I'm deriving from a WrapPanel atm. 回答1: There is no public event or protected override that tracks changes Children membership. However a change in the membership of the Children property will ultimately result in a LayoutUpdated event. If you just need to know if the members have been changed then a simple copy of the last count of children would suffice. However if you need to keep track of which members have been