DesignEditors.TPropertyEditor.GetProperties

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

procedure GetProperties(Proc: TGetPropProc); virtual;

C++

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

Description

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