DesignIntf.ICustomModule.ValidateComponentClass

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

function ValidateComponentClass(ComponentClass: TComponentClass): Boolean;

C++

virtual bool __fastcall ValidateComponentClass(System::Classes::TComponentClass ComponentClass) = 0 ;

Description

Filters the content of the palette in order to keep only the components suitable for the module.

ValidateComponentClass is called by the designer to filter the components in the palette in order to keep only the items appropriate for the module.

See Also