DesignIntf.ISelectionPropertyFilter

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

ISelectionPropertyFilter = interface

C++

__interface  INTERFACE_UUID("{0B424EF6-2F2F-41AB-A082-831292FA91A5}") ISelectionPropertyFilter  : public System::IInterface

Properties

Type Visibility Source Unit Parent
interface
class
public
DesignIntf.pas
DesignIntf.hpp
DesignIntf DesignIntf

Description

Provides support for filtering the list of properties for a selection to be sent to the Object Inspector.

ISelectionPropertyFilter can be implemented (it is optional) on the same class that implements ISelectionEditor.

If this interface is implemented, the list of properties constructed for a given selection is passed to the implementations of this interface. In this way, the list of properties can be modified: properties can be added or removed.

Note: If a property is added, it is the responsibility of the implementing class to properly construct an appropriate implementation of the IProperty interface. Because an added property will typically not be available through the normal RTTI mechanisms, it is the responsibility of the implementing class to ensure that the property editor overrides those methods that would normally access the RTTI for the selected objects.

See Also