RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IProperty Interface

IProperty is the interface that the Object Inspector uses to communicate with property editors.

Pascal
IProperty = interface;
C++
__interface IProperty;

DesignIntf

When you create your own property editors, they must meet two criteria:  

They must be descendants of TBasePropertyEditor

They must implement the IProperty interface. 

The Object Inspector uses the methods on the IProperty interface to interact with property editors.  

Typically, property editors are derived from TPropertyEditor, which supplies a default implementation for IProperty.

Note: C++ method declarations that use IPropertyServer use the _di_IPropertyServer type instead. This type is a DelphiInterface wrapper around the IProperty interface:

typedef System::DelphiInterfaceDelphiInterface_object< IProperty >  _di_IProperty;

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!