is there way can fire eventhandler when object added stackpanel?
my objective add mousedown event stackpanel objects.
the stackpanel
has no events related adding/removing items it's collection.
you can however, use layoutupdated
event. issue here not know what item has been added, has been changed.
that being said, way (that aware) of add/remove items stackpanel through c#, observablecollection
binding, or manually modifiying collection. in theory, should already know when item added/removed.
Comments
Post a Comment