FMX.Controls.TStyleBook.CreateDefaultItem
Delphi
procedure CreateDefaultItem; virtual;
C++
virtual void __fastcall CreateDefaultItem(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TStyleBook |
Description
Creates an empty item on demand.
CreateDefaultItem calls Add to create a TStyleCollectionItem and add it to the TStyleCollection. The new style collection item is placed at the end of the Items array.
Add returns the new style collection item.
Add inherits from System.Classes.TCollection.Add.