2

I'm trying to derive from the Silverlight Panel control to add some custom logic whenever a control is added to the Panel. I can't seem to find an "OnChildAdded" event (Or something similar) on the Children collection. Does anyone have any suggestions for how I can tell when a child control is added to a Panel or do I have to write my own container control?

Thanks,

Paul

Paul Bevis
  • 831
  • 1
  • 8
  • 16

1 Answers1

1

Asked before here - unfortunately you can't get notification with the existing UIElementCollection Children property, but you could try a custom implementation.

Community
  • 1
  • 1
Gordon Mackie JoanMiro
  • 3,499
  • 3
  • 34
  • 42