Share

ICategorizeProperties Class

Class Hierarchy

ICategorizeProperties
    IOPMPropertyExtensionImpl

C++

class ICategorizeProperties : public IUnknown;

File

category.h

Description

This interface is used by the Properties window to categorize the properties shown in the control. It is optional but strongly recommended. If the object does not implement this interface, all properties are categorized under the General category.

Note

The Properties window does not support nesting of categories.

The Properties window code calls QueryInterface for this interface when it is collecting property information. This will occur the first time an object of a particular type is selected. If the QueryInterface succeeds, for each browsable property defined by the type info for the object, it calls MapPropertyToCategory. If the category (PROPCAT) returned is not one of the pre-defined values, it calls GetCategoryName to determine what category to place the property in.

Links

Methods

See Also

OPMPropertyExtension, IDynamicProperty

Was this information helpful?