DesignIntf.TDesignerSelections.Items

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
property protected
DesignIntf.pas
DesignIntf.hpp
DesignIntf TDesignerSelections

Description

Provides indexed access to the objects in the list.

Use Items to access a specific object in the array. 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.

Note: Items is a protected property. To access this property you must use the IDesignerSelections interface.

See Also