DesignIntf.IProperty.GetAttributes

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: IProperty

Delphi

function GetAttributes: TPropertyAttributes;

C++

virtual TPropertyAttributes __fastcall GetAttributes() = 0 ;

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.

See Also