Based on (PropertyGrid) Dynamic Visibility of Properties: http://wpftoolkit.codeplex.com/discussions/366328 which is Wiki Link: [discussion:366328].
There are times when the list of properties displayed in the ProperyGrid needs to be determined at runtime. If the code that called the GetObjectProperties method raised an event first (e.g. CreatingPropertiesList), a developer could react to the event by supplying their own e.PropertiesList and marking it handled. This would allow flexibility without requiring customizing the PropertyGrid code.
There are times when the list of properties displayed in the ProperyGrid needs to be determined at runtime. If the code that called the GetObjectProperties method raised an event first (e.g. CreatingPropertiesList), a developer could react to the event by supplying their own e.PropertiesList and marking it handled. This would allow flexibility without requiring customizing the PropertyGrid code.