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

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -