DesignIntf.IProperty.AllEqual

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 AllEqual: Boolean;

C++

virtual bool __fastcall AllEqual() = 0 ;

Description

Indicates whether all selected components have the same value for the property.

The Object Inspector calls AllEqual when there is more than one component selected to determine whether a value should appear for this property. If this method returns true, the Object Inspector displays a value for the property. If this method returns false, the line for the property in the Object Inspector remains blank.

Note: AllEqual is called only when the value returned by GetAttributes includes paMultiSelect.

See Also