Message 1 of 2
Check DockablePane Visibility on DocumentChanged Event
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a DocumentChanged Event that I only want to execute if a specific DockablePane is Shown/Visible. How can I get the DockablePane from either the sender or args in the DocumentChanged method and then check if it is Shown or not?
Maybe I'm thinking about this the wrong way and I should do an Add/Remove of the DocumentChanged Event when I am Showing/Hiding the DockablePane?