FMX.Types.TControlSize.PlatformDefault
Delphi
property PlatformDefault: Boolean read FUsePlatformDefault write SetUsePlatformDefault default True;
C++
__property bool PlatformDefault = {read=FUsePlatformDefault, write=SetUsePlatformDefault, default=1};
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| property | published | FMX.Types.pas FMX.Types.hpp | FMX.Types | TControlSize | 
Description
When this property is set to True, the size and width of the control are set automatically based on pre-defined sizes for the active platform.
Explicitly setting the Width or Height properties  automatically sets the PlatformDefault setting to False.
Note: Changing the value of PlatformDefault triggers an OnChange notification.