DesignIntf.IProperty.GetAttributes
Delphi
function GetAttributes: TPropertyAttributes;
C++
virtual TPropertyAttributes __fastcall GetAttributes() = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | DesignIntf.pas DesignIntf.hpp |
DesignIntf | IProperty |
Description
Describes the property so the Object Inspector provides the appropriate controls.
The Object Inspector calls GetAttributes to determine what controls to display for the property and what property editor methods to call. GetAttributes returns a set of flags that provide this information.
Before the Object Inspector calls the Activate method, GetAttributes does not need to provide accurate information about any attributes other than paSubProperties, paVCL, and paMultiSelect.