FMX.Controls.TStyleCollectionItem.Platform
Delphi
property Platform: string read FPlatform write SetPlatform;
C++
__property System::UnicodeString Platform = {read=FPlatform, write=SetPlatform};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TStyleCollectionItem |
Description
Name used to identify the platform of an item in the collection.
Use the FireMonkey Style Designer to add platforms and styles to the TStyleBook. Add a new platform to the Platform list, using the Platform selector, for example, Windows.
For the Default item, Platform is an empty string.
For example, to show the platform of item 1:
ShowMessage('The platform of the item 1 is: ' + stylebook1.Styles.Items[1].platform);