Additional IDynamicProperty2 Configuration Options

Other options include disabling the property to keep it from displaying for a particular object, and setting the property to read-only. To control the property's visibility on a per-object basis, implement the IsPropertyEnabled() method. You can use the input IUnknown pointer argument to query an object's state for determining whether the property should be displayed. You define the IsPropertyReadOnly() method to return TRUE if you wish to “gray out” a property's display to prevent it from being edited.