Detect from the Application.Current.RootVisual Silverlight ChildWindow opening -


how can know silverlight main usercontrol (rootvisual) childwindow displaying?

not sure if there's way more specific setting wiring yourself.

1) want make public singleton class (ie. childwindowmanager) contains event called onchildwindowshowing. root visual subscribe event.

2) in order make event fire @ proper times, need set wiring on childwindow instances. can on case case basis, or can make class inherits childwindow , has custom constructor. need set events on childwindow cause onchildwindowshowing event on singleton class created before fire.

so conceptually like: childwindow.onshow() <--> childwindowmanager.onchildwindowshowing <--> rootvisual


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -