DesignEditors.TComponentProperty.GetProperties

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
DesignEditors.pas
DesignEditors.hpp
Unit: DesignEditors
Parent: TComponentProperty

Delphi

procedure GetProperties(Proc: TGetPropProc); override;

C++

virtual void __fastcall GetProperties(Designintf::TGetPropProc Proc);

Description

Provides the subproperties of the property to a callback procedure.

DesignEditors.TComponentProperty.GetProperties inherits from DesignEditors.TPropertyEditor.GetProperties. All content below this line refers to DesignEditors.TPropertyEditor.GetProperties.

Provides the subproperties of the property to a callback procedure.

The Object Inspector calls GetProperties when the property is expanded to show subproperties. The GetProperties method of TPropertyEditor does nothing. Property editors that return paSubProperties from the GetAttributes method should override GetProperties to create an appropriate property editor and pass its IProperty interface to the Proc parameter for every subproperty (or nested property) of the property.

See Also