Class Hierarchy
IDynamicProperty
C++
class IDynamicProperty : public IUnknown;
File
dynprops.h
Description
Implemented by the component, this interface should be implemented for each property that is not Automation based, or part of the type information for a given selectable object. It is the main interface though which the Properties window determines the attributes of dynamic properties. To implement dynamic properties, components should pass instances of these classes to AutoCAD's implementation of IPropertyManager to add and remove dynamic properties. When the user selects an object, the Properties window gets the property manager for that AcRxClass object, uses it to get the list of dynamic properties to display along with the static, Automation-based ones, and interrogates each property for its attributes though this interface. Note that this interface makes no assumptions about where the data is stored; it simply requires the interface implementer to provide it when GetCurrentValueData is called. Similarly, when the user changes a dynamic property, the Properties window will call SetCurrentValueData with the new value, leaving it up to the implementer to transmit this value to the data source.
Links
See Also
OPMPropertyExtension, IPropertyManager, IDynamicEnumProperty, IDynamicPropertyNotify