FMX.Controls.Presentation.TPresentedControl.RecommendSize
Delphi
function RecommendSize(const AWishedSize: TSizeF): TSizeF; virtual;
C++
virtual System::Types::TSizeF __fastcall RecommendSize(const System::Types::TSizeF &AWishedSize);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.Controls.Presentation.pas FMX.Controls.Presentation.hpp |
FMX.Controls.Presentation | TPresentedControl |
Description
Requests from the presentation layer a recommended size for your control based on the specified wished size, and returns the size that the presentation layer recommends.