FMX.Types._di_IItemsContainer
C++
typedef System::DelphiInterface<IItemsContainer> _di_IItemsContainer;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| typedef | public | FMX.Types.hpp | FMX.Types | FMX.Types |
Description
Represents the DelphiInterface of IItemsContainer.
You can use _di_IItemsContainer to refer to container objects in C++ code.
The following code snippet shows how to use the FMX.Types.IItemsContainer.GetItemsCount method over a TListBox:
_di_IItemsContainer AInterface;
if (ListBox1->GetInterface(AInterface)) {
ShowMessage(AInterface->GetItemsCount());
}