DesignIntf.IDesignerSelections.Items

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: IDesignerSelections

Delphi

property Items[Index: Integer]: TPersistent read Get; default;

C++

__property System::Classes::TPersistent* Items[int Index] = {read=Get/*, default*/};

Description

Provides indexed access to the objects in the list.

Use Items to access a specific object in the list. The Index parameter indicates the index of the object, where 0 is the index of the first object, 1 is the index of the second object, and so on. Use Items with the Count property to iterate through all of the objects in the list.

To add objects to the Items array, use the Add method. Once objects have been added, they can't be deleted or rearranged.

See Also