Message 1 of 2
make some when element be deselected

Not applicable
05-21-2015
10:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone
I have a window in my revit addin that has a PropertyGrid which shows the properties of a selected element and can change values. But when I click out of the element (I select a view or I click on the ribbon or menu or I click the Properties window Revit or any node in the project explorer) my PropertyGrid still loaded with information from the last item that I selected.
Is there any way to clean the PropertyGrid when I deselected an item? Or is there a command or option method in the API to do something when an item is deselected or click on another component?
Regards.